From abb4abbdb17b29175c805c6ec1c66acdb3bfdf04 Mon Sep 17 00:00:00 2001 From: Sohyun Park <124856726+ParkSohyunee@users.noreply.github.com> Date: Thu, 28 Nov 2024 12:07:22 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=EA=B2=8C=EC=8B=9C=EB=AC=BC=20=EC=83=81?= =?UTF-8?q?=EC=84=B8=EC=A1=B0=ED=9A=8C=20staleTime=20=EC=88=98=EC=A0=95=20?= =?UTF-8?q?=EB=B0=8F=20=EA=B3=B5=EA=B0=9C/=EB=B9=84=EA=B3=B5=EA=B0=9C=20?= =?UTF-8?q?=ED=86=A0=EA=B8=80=20=EA=B8=B0=EB=B3=B8=EA=B0=92=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/admin/notice/_components/NoticeItem.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/app/admin/notice/_components/NoticeItem.tsx b/src/app/admin/notice/_components/NoticeItem.tsx index 573fbed1..9a8133cc 100644 --- a/src/app/admin/notice/_components/NoticeItem.tsx +++ b/src/app/admin/notice/_components/NoticeItem.tsx @@ -22,7 +22,6 @@ function NoticeDetailModal({ noticeId }: NoticeDetailModalProps) { const { data: notices } = useQuery({ queryKey: [QUERY_KEYS.getNoticeDetail], queryFn: () => getNoticeDetail(noticeId), - staleTime: 1000 * 60 * 30, enabled: !!noticeId, }); @@ -83,9 +82,9 @@ function NoticeItem({ notice }: NoticeItemProps) { - + +