Skip to content

Commit 0a45831

Browse files
authored
Merge pull request #20 from Check-Data-Out/dev
hotfix: cache 중복 오류 해결
2 parents f1222a6 + 5d52b3b commit 0a45831

File tree

1 file changed

+1
-1
lines changed
  • src/components/auth-required/main/Section

1 file changed

+1
-1
lines changed

src/components/auth-required/main/Section/Graph.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const Graph = ({ id, releasedAt }: IProp) => {
5555
const [mode, setMode] = useState<ModeType>('none');
5656

5757
const { data: datas } = useQuery({
58-
queryKey: [PATHS.DETAIL, type],
58+
queryKey: [PATHS.DETAIL, type, id],
5959
queryFn: async () => await postDetail(id, type.start, type.end),
6060
select: ({ post }) => {
6161
post = post.sort(

0 commit comments

Comments
 (0)