From db69e0d08dae0ce643e5c7163c8254249e7352b4 Mon Sep 17 00:00:00 2001 From: yushen Date: Wed, 4 Feb 2026 14:12:14 +0800 Subject: [PATCH] fix(desktop): remove unsupported asChild prop from AlertDialogDescription Radix UI version in this project doesn't support asChild on AlertDialogDescription. Use inline spans with block display instead. Co-Authored-By: Claude Opus 4.5 --- .../src/components/device-confirm-dialog.tsx | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/apps/desktop/src/components/device-confirm-dialog.tsx b/apps/desktop/src/components/device-confirm-dialog.tsx index b02d2e58..81420891 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() { New Device Connection - -
-

- {deviceLabel} wants to connect. -

- {parsed && ( -

- {pending?.deviceId} -

- )} -

Allow this device?

-
+ + {deviceLabel} wants to connect. + {parsed && ( + + {pending?.deviceId} + + )} + Allow this device?