From 8da3c9dbc44dbc43ecbc2094b62bfa9c4f3bbbba Mon Sep 17 00:00:00 2001 From: Remko Date: Mon, 27 Nov 2023 13:36:43 +0100 Subject: [PATCH] added feedback --- pwa/src/hooks/footerContent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwa/src/hooks/footerContent.ts b/pwa/src/hooks/footerContent.ts index e395c4a..78f6f62 100644 --- a/pwa/src/hooks/footerContent.ts +++ b/pwa/src/hooks/footerContent.ts @@ -11,7 +11,7 @@ export const useFooterContent = () => { const fileName = getFileNameFromUrl(window.sessionStorage.getItem("FOOTER_CONTENT") ?? DEFAULT_FOOTER_CONTENT_URL); const getContent = () => - useQuery(["contents", fileName], () => API?.FooterContent.getContent(fileName), { + useQuery(["footer-content", fileName], () => API?.FooterContent.getContent(fileName), { onError: (error) => { console.warn(error.message); },