diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/hooks/APIClient.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hooks/APIClient.ts b/src/hooks/APIClient.ts index 59bf4fc..2322af4 100644 --- a/src/hooks/APIClient.ts +++ b/src/hooks/APIClient.ts @@ -21,7 +21,7 @@ export const useProfile = (id: string) => { }; export const useFeed = () => { - return useSWR('/feed', fetcher, arrayOptions); + return useSWR('/feed', fetcher, { ...arrayOptions, revalidateOnFocus: false }); }; export const useFeedback = () => { |