We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f1222a6 + 5d52b3b commit 0a45831Copy full SHA for 0a45831
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