Add account hierarchy framework with migrations, RLS policies, and UI components
This commit is contained in:
@@ -33,8 +33,9 @@ export function ConfirmDialog({
|
||||
}: ConfirmDialogProps) {
|
||||
return (
|
||||
<AlertDialog>
|
||||
<AlertDialogTrigger render={trigger as React.ReactElement}>
|
||||
</AlertDialogTrigger>
|
||||
<AlertDialogTrigger
|
||||
render={trigger as React.ReactElement}
|
||||
></AlertDialogTrigger>
|
||||
<AlertDialogContent>
|
||||
<AlertDialogHeader>
|
||||
<AlertDialogTitle>{title}</AlertDialogTitle>
|
||||
@@ -44,7 +45,11 @@ export function ConfirmDialog({
|
||||
<AlertDialogCancel>{cancelLabel}</AlertDialogCancel>
|
||||
<AlertDialogAction
|
||||
onClick={onConfirm}
|
||||
className={variant === 'destructive' ? 'bg-destructive text-destructive-foreground hover:bg-destructive/90' : ''}
|
||||
className={
|
||||
variant === 'destructive'
|
||||
? 'bg-destructive text-destructive-foreground hover:bg-destructive/90'
|
||||
: ''
|
||||
}
|
||||
>
|
||||
{confirmLabel}
|
||||
</AlertDialogAction>
|
||||
|
||||
Reference in New Issue
Block a user