From a5b7f8a4b207f5a4195ba92a13ea6e3c9787f1be Mon Sep 17 00:00:00 2001 From: 00kang Date: Thu, 21 Nov 2024 17:03:04 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20alarm=20get=20=EC=9A=94=EC=B2=AD?= =?UTF-8?q?=EB=8F=84=201=EB=B6=84=EB=A7=88=EB=8B=A4=20=EC=9E=AC=EC=8B=A4?= =?UTF-8?q?=ED=96=89=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/hooks/queries/useFetchAlarm.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/hooks/queries/useFetchAlarm.ts b/frontend/src/hooks/queries/useFetchAlarm.ts index 9e7a6bae..56458e51 100644 --- a/frontend/src/hooks/queries/useFetchAlarm.ts +++ b/frontend/src/hooks/queries/useFetchAlarm.ts @@ -22,5 +22,7 @@ export const useFetchAlarmList = () => { queryClient.invalidateQueries({ queryKey: [QUERY_KEYS.ALARM_COUNT] }); return result; }, + refetchInterval: 60000, + refetchIntervalInBackground: false, }); };