From 5d52b3b0a13a5377bf317051198c3fa5efa6ee9a Mon Sep 17 00:00:00 2001 From: six-standard Date: Wed, 5 Mar 2025 10:42:35 +0900 Subject: [PATCH] =?UTF-8?q?hotfix:=20cache=20=EC=A4=91=EB=B3=B5=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/auth-required/main/Section/Graph.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/auth-required/main/Section/Graph.tsx b/src/components/auth-required/main/Section/Graph.tsx index 953f75f..fc925ba 100644 --- a/src/components/auth-required/main/Section/Graph.tsx +++ b/src/components/auth-required/main/Section/Graph.tsx @@ -55,7 +55,7 @@ export const Graph = ({ id, releasedAt }: IProp) => { const [mode, setMode] = useState('none'); const { data: datas } = useQuery({ - queryKey: [PATHS.DETAIL, type], + queryKey: [PATHS.DETAIL, type, id], queryFn: async () => await postDetail(id, type.start, type.end), select: ({ post }) => { post = post.sort(