From 0e8f63101c835dc8c459cbb0bd92baf8d6f99032 Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Thu, 26 Mar 2026 20:50:27 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=BA=20ComicVine=20matching=20in=20draw?= =?UTF-8?q?er=20UX=20fixed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/components/ComicDetail/MatchResult.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/components/ComicDetail/MatchResult.tsx b/src/client/components/ComicDetail/MatchResult.tsx index 70b1a7d..ee0f0ab 100644 --- a/src/client/components/ComicDetail/MatchResult.tsx +++ b/src/client/components/ComicDetail/MatchResult.tsx @@ -4,6 +4,7 @@ import { convert } from "html-to-text"; import ellipsize from "ellipsize"; import { LIBRARY_SERVICE_BASE_URI } from "../../constants/endpoints"; import axios from "axios"; +import { useGetComicByIdQuery } from "../../graphql/generated"; interface MatchResultProps { matchData: any; @@ -31,7 +32,7 @@ export const MatchResult = (props: MatchResultProps) => { // Invalidate and refetch the comic book metadata if (props.queryClient) { await props.queryClient.invalidateQueries({ - queryKey: ["comicBookMetadata", comicObjectId], + queryKey: useGetComicByIdQuery.getKey({ id: comicObjectId }), }); }