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(