mirror of
https://github.com/ivabus/gui
synced 2025-04-23 14:07:14 +03:00
#132 prevent double request of reviews
This commit is contained in:
parent
3b80e8f431
commit
e94a3e5390
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ function initPackagesReviewStore() {
|
|||
|
||||
const getSetPackageReviews = async (full_name: string) => {
|
||||
if (full_name && !packagesReviews[full_name]) {
|
||||
console.log('getting reviews for', full_name);
|
||||
packagesReviews[full_name] = [];
|
||||
const reviews = await getPackageReviews(full_name);
|
||||
update((v) => {
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue