fix: replace hardcoded text-white with theme-destructive-foreground
This commit is contained in:
1 parent
844add04ef
commit
0fa832d577
1 file changed
+2
-1
@@ -110,7 +110,8 @@ export function ConfirmDialog({
|
||||
disabled={isLoading}
|
||||
onClick={handleConfirm}
|
||||
className={cn(
|
||||
variant === "danger" && "bg-[var(--admin-error)] text-white",
|
||||
variant === "danger" &&
|
||||
"bg-destructive text-destructive-foreground",
|
||||
)}
|
||||
autoFocus
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user