fix(frontend): remove custom classes to fix black delete confirmation button

Remove custom className from AlertDialogAction to prevent CSS variables overlap, restoring the default red background with white text styling.
This commit is contained in:
ryan
2026-06-28 11:06:51 +08:00
parent 932f0c65b9
commit 84626f9613
@@ -263,7 +263,6 @@ export function EditUserModal({
<AlertDialogFooter>
<AlertDialogCancel disabled={saving}>取消</AlertDialogCancel>
<AlertDialogAction
className="bg-destructive text-destructive-foreground hover:bg-destructive/90"
onClick={(e) => {
e.preventDefault()
handleDelete()