Add account hierarchy framework with migrations, RLS policies, and UI components

This commit is contained in:
T. Zehetbauer
2026-03-31 22:18:04 +02:00
parent 7e7da0b465
commit 59546ad6d2
262 changed files with 11671 additions and 3927 deletions

View File

@@ -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>