From 16de7cd39023e9b6414bac580d6c1749998edadd Mon Sep 17 00:00:00 2001 From: Pouzor Date: Tue, 10 Mar 2026 17:40:21 +0100 Subject: [PATCH] fix: accept string | null in Select onValueChange (Base UI type) --- frontend/src/components/modals/GroupRectModal.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/modals/GroupRectModal.tsx b/frontend/src/components/modals/GroupRectModal.tsx index 04fbfa3..58c5338 100644 --- a/frontend/src/components/modals/GroupRectModal.tsx +++ b/frontend/src/components/modals/GroupRectModal.tsx @@ -93,7 +93,7 @@ export function GroupRectModal({ open, onClose, onSubmit, onDelete, initial, tit {/* Font */}
- set('font', v ?? 'inter')}> @@ -160,7 +160,7 @@ export function GroupRectModal({ open, onClose, onSubmit, onDelete, initial, tit {/* Z-order */}
- set('z_order', v !== null ? Number(v) : 1)}>