Remove unused showInfoToast during customer data fetch

This commit is contained in:
2025-07-11 20:22:20 +02:00
parent 0724f3b1e7
commit 52c6358a0c

View File

@@ -46,7 +46,6 @@ export default function CustomersPage() {
throw new Error(`Failed to fetch customers: ${response.statusText}`); throw new Error(`Failed to fetch customers: ${response.statusText}`);
} }
const data = await response.json(); const data = await response.json();
showInfoToast("Customers data loaded");
setCustomers(data); setCustomers(data);
} catch (error) { } catch (error) {
showError("Failed to fetch customers data (1)"); showError("Failed to fetch customers data (1)");