change dedupingInterval to 10s
This commit is contained in:
@@ -14,5 +14,5 @@ export const useSidebarBadge = () => {
|
||||
}
|
||||
};
|
||||
|
||||
return useSWR(GET_SIDEBAR_BADGE_ROUTE, fetcher, { keepPreviousData: true, dedupingInterval: 30000 });
|
||||
return useSWR(GET_SIDEBAR_BADGE_ROUTE, fetcher, { keepPreviousData: true, dedupingInterval: 10000 });
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user