Skip to content

Commit

Permalink
hotfix: 로그인 오류나지 않도록 refetchInterval 추가 (#681)
Browse files Browse the repository at this point in the history
  • Loading branch information
gyeongza authored Oct 20, 2023
1 parent bc79576 commit 0ee1c38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/hooks/query/useNotification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const useNotification = () => {
const queryResult = useSuspenseQuery<GetNotificationResponse, APIError>({
queryKey: ['notification'],
queryFn: getNotification,
refetchInterval: 60 * 1000,
});

return {
Expand Down

0 comments on commit 0ee1c38

Please sign in to comment.