diff --git a/components/admin-dashboard.tsx b/components/admin-dashboard.tsx
index a598429..fa6835d 100644
--- a/components/admin-dashboard.tsx
+++ b/components/admin-dashboard.tsx
@@ -61,7 +61,7 @@ export function AdminDashboard({ token, onLogout }: AdminDashboardProps) {
}
toast({
- variant: type === "error" ? "destructive" : "default",
+ variant: type === "error" ? "default" : "destructive",
title: type === "error" ? "Error" : "Warning",
description: error,
})
diff --git a/components/admins/admins-section.tsx b/components/admins/admins-section.tsx
index 1a53b20..356f9b4 100644
--- a/components/admins/admins-section.tsx
+++ b/components/admins/admins-section.tsx
@@ -117,7 +117,7 @@ export function AdminsSection({ admins, apiClient, onAdminsUpdate }: AdminsSecti
onAdminsUpdate(updatedAdmins)
toast({
- variant: "default",
+ variant: "destructive",
title: "Admin Deleted",
description: "Admin account deleted successfully!",
})
@@ -130,7 +130,7 @@ export function AdminsSection({ admins, apiClient, onAdminsUpdate }: AdminsSecti
onAdminsUpdate([...admins, admin])
toast({
- variant: "default",
+ variant: "destructive",
title: "Admin Added",
description: "Admin account added successfully!",
})
diff --git a/components/admins/change-password-dialog.tsx b/components/admins/change-password-dialog.tsx
index 1ff2c59..19c50b5 100644
--- a/components/admins/change-password-dialog.tsx
+++ b/components/admins/change-password-dialog.tsx
@@ -49,7 +49,7 @@ export function ChangePasswordDialog({ admin, apiClient, onClose }: ChangePasswo
onClose()
toast({
- variant: "default",
+ variant: "destructive",
title: "Admin Updated",
description: "Admin account password updated successfully!",
})
diff --git a/components/database/add-item-drawer.tsx b/components/database/add-item-drawer.tsx
index 61dd30e..7bc6637 100644
--- a/components/database/add-item-drawer.tsx
+++ b/components/database/add-item-drawer.tsx
@@ -95,6 +95,7 @@ export function AddItemDrawer({ table, apiClient, open, onClose, onItemAdded }:
onClose()
toast({
+ variant: "destructive",
title: "Table Created",
description: `A table ${table.name} has been created successfully.`,
})
@@ -225,9 +226,9 @@ export function AddItemDrawer({ table, apiClient, open, onClose, onItemAdded }: