From 96ce252073358240638965c9d5b7bce5fc294e50 Mon Sep 17 00:00:00 2001 From: Soumyadas15 Date: Fri, 6 Jun 2025 13:44:38 +0530 Subject: [PATCH] fix(ui): remove unnecessary redundant toast messages --- frontend/src/lib/api.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frontend/src/lib/api.ts b/frontend/src/lib/api.ts index fd0ce8da..f621ad26 100644 --- a/frontend/src/lib/api.ts +++ b/frontend/src/lib/api.ts @@ -1247,7 +1247,6 @@ export const listSandboxFiles = async ( return data.files || []; } catch (error) { console.error('Failed to list sandbox files:', error); - handleApiError(error, { operation: 'list files', resource: `directory ${path}` }); throw error; } }; @@ -1475,8 +1474,6 @@ export const checkApiHealth = async (): Promise => { return response.json(); } catch (error) { - console.error('API health check failed:', error); - handleApiError(error, { operation: 'check system health', resource: 'system status' }); throw error; } }; @@ -1783,7 +1780,6 @@ export const checkBillingStatus = async (): Promise => { return response.json(); } catch (error) { console.error('Failed to check billing status:', error); - handleApiError(error, { operation: 'check billing status', resource: 'account status' }); throw error; } };