diff --git a/frontend/src/hooks/useFetch.ts b/frontend/src/hooks/useFetch.ts index 642b40eff..4a7177de9 100644 --- a/frontend/src/hooks/useFetch.ts +++ b/frontend/src/hooks/useFetch.ts @@ -31,10 +31,10 @@ export const useFetch = () => { return response; }) - .catch((error) => { + .catch(() => { showErrorToast({ - title: ERROR_TITLE.NETWORK, - description: error instanceof Error ? error.message : ERROR_DESCRIPTION.UNEXPECTED, + title: ERROR_TITLE.ERROR, + description: ERROR_DESCRIPTION.UNEXPECTED, }); });