Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(desktop): remove unsupported asChild prop from AlertDialogDescription

yushendb69e0d08dae
diff --git a/apps/desktop/src/components/device-confirm-dialog.tsx b/apps/desktop/src/components/device-confirm-dialog.tsx
index b02d2e582b..8142089174 100644
--- a/apps/desktop/src/components/device-confirm-dialog.tsx
+++ b/apps/desktop/src/components/device-confirm-dialog.tsx
@@ -64,18 +64,14 @@ export function DeviceConfirmDialog() {
<AlertDialogContent>
<AlertDialogHeader>
<AlertDialogTitle>New Device Connection</AlertDialogTitle>
- <AlertDialogDescription asChild>
- <div className="space-y-2">
- <p>
- <span className="font-medium">{deviceLabel}</span> wants to connect.
- </p>
- {parsed && (
- <p className="text-xs font-mono text-muted-foreground truncate">
- {pending?.deviceId}
- </p>
- )}
- <p>Allow this device?</p>
- </div>
+ <AlertDialogDescription>
+ <span className="font-medium">{deviceLabel}</span> wants to connect.
+ {parsed && (
+ <span className="block text-xs font-mono text-muted-foreground truncate mt-1">
+ {pending?.deviceId}
+ </span>
+ )}
+ <span className="block mt-1">Allow this device?</span>
</AlertDialogDescription>
</AlertDialogHeader>
<AlertDialogFooter>