From e4d11b68c5193b76baa802394f3fd7fb8ba42067 Mon Sep 17 00:00:00 2001 From: Kenneth Date: Sat, 28 Feb 2026 01:00:31 +0000 Subject: [PATCH] Fix null type error in Input registry component Co-authored-by: Ona --- example/src/registry.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/src/registry.tsx b/example/src/registry.tsx index 075a6ce..7b52ab8 100644 --- a/example/src/registry.tsx +++ b/example/src/registry.tsx @@ -61,7 +61,7 @@ export const { registry, handlers } = defineRegistry(catalog, { ), Input: ({ props, bindings }) => { - const [value, setValue] = useBoundProp(props.value, bindings?.value); + const [value, setValue] = useBoundProp(props.value ?? undefined, bindings?.value); return (