fix confirm dialog style
This commit is contained in:
@@ -42,7 +42,7 @@ export function ConfirmDialog({
|
||||
<AlertDialogCancel>取消</AlertDialogCancel>
|
||||
<AlertDialogAction
|
||||
disabled={busy}
|
||||
className={destructive ? 'bg-destructive text-white hover:bg-destructive/90' : undefined}
|
||||
variant={destructive ? 'destructive' : 'default'}
|
||||
onClick={async (event) => {
|
||||
event.preventDefault()
|
||||
setBusy(true)
|
||||
|
||||
Reference in New Issue
Block a user