From d22b41e335cc91ad921da21cdbd35525216d0093 Mon Sep 17 00:00:00 2001 From: Petyo Ivanov Date: Tue, 22 Aug 2023 11:38:53 +0300 Subject: [PATCH] chore: fix TS error --- src/components/client/notifications/UNsubscriptionsPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/client/notifications/UNsubscriptionsPage.tsx b/src/components/client/notifications/UNsubscriptionsPage.tsx index aba402921..649a5a26d 100644 --- a/src/components/client/notifications/UNsubscriptionsPage.tsx +++ b/src/components/client/notifications/UNsubscriptionsPage.tsx @@ -99,7 +99,7 @@ export default function UNsubscriptionPage(data: Props) { UNsubscribePublicEmailInput >({ mutationFn: useUNSubscribePublicEmail(), - onError: (error) => handleError(error), + onError: () => handleError(), onSuccess: () => { AlertStore.show(t('common:alerts.message-sent'), 'success') setIsSuccess(true)