feat: set error as any

This commit is contained in:
karishmas6
2024-10-17 16:14:43 +05:30
parent 17374b61f4
commit e9248db0a9

View File

@@ -55,7 +55,7 @@ export const IntegrationSettingsModal = ({ isOpen, handleStart, handleClose }: I
withCredentials: true,
});
setSpreadsheets(response.data);
} catch (error) {
} catch (error: any) {
console.error('Error fetching spreadsheet files:', error.response?.data?.message || error.message);
}
};