From 778e18bfe1b4cae1d4f23bf529f2e0c4ba30dec9 Mon Sep 17 00:00:00 2001 From: Igor Kozlov Date: Wed, 4 Dec 2024 16:58:32 -0500 Subject: [PATCH] Expect `null` --- packages/core/source/legacy/host.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/source/legacy/host.ts b/packages/core/source/legacy/host.ts index 9b9d42f2..84bc6f58 100644 --- a/packages/core/source/legacy/host.ts +++ b/packages/core/source/legacy/host.ts @@ -285,6 +285,7 @@ function adaptFragmentsInProps(props: any) { function isFragment(prop: any) { return ( + prop != null && typeof prop === 'object' && 'kind' in prop && prop.kind === LEGACY_KIND_FRAGMENT