Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
feat: disable refetchOnWindowFocus for home feed
  • Loading branch information
DIYgod committed Apr 25, 2023
1 parent 29a4ab5 commit 65ec562
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/queries/home.ts
Expand Up @@ -20,5 +20,6 @@ export const useGetFeed = (data?: {
})
},
getNextPageParam: (lastPage) => lastPage?.cursor || undefined,
refetchOnWindowFocus: false,
})
}

0 comments on commit 65ec562

Please sign in to comment.