Remove unused showInfoToast during customer data fetch
This commit is contained in:
@@ -46,7 +46,6 @@ export default function CustomersPage() {
|
||||
throw new Error(`Failed to fetch customers: ${response.statusText}`);
|
||||
}
|
||||
const data = await response.json();
|
||||
showInfoToast("Customers data loaded");
|
||||
setCustomers(data);
|
||||
} catch (error) {
|
||||
showError("Failed to fetch customers data (1)");
|
||||
|
||||
Reference in New Issue
Block a user