We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60920e6 commit 5d52b3bCopy full SHA for 5d52b3b
src/components/auth-required/main/Section/Graph.tsx
@@ -55,7 +55,7 @@ export const Graph = ({ id, releasedAt }: IProp) => {
55
const [mode, setMode] = useState<ModeType>('none');
56
57
const { data: datas } = useQuery({
58
- queryKey: [PATHS.DETAIL, type],
+ queryKey: [PATHS.DETAIL, type, id],
59
queryFn: async () => await postDetail(id, type.start, type.end),
60
select: ({ post }) => {
61
post = post.sort(
0 commit comments