From 297acf7e86b22618d0e63e527f66aebba0620630 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Thu, 17 Oct 2024 17:31:14 +0530 Subject: [PATCH] feat: set error as any --- src/components/molecules/IntegrationSettings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/molecules/IntegrationSettings.tsx b/src/components/molecules/IntegrationSettings.tsx index 9ce3690e..0a472397 100644 --- a/src/components/molecules/IntegrationSettings.tsx +++ b/src/components/molecules/IntegrationSettings.tsx @@ -70,7 +70,7 @@ const updateGoogleSheetId = async () => { { withCredentials: true } ); console.log('Google Sheet ID updated:', response.data); - } catch (error) { + } catch (error: any) { console.error('Error updating Google Sheet ID:', error.response?.data?.message || error.message); } };