Skip to content

Commit

Permalink
Expect null
Browse files Browse the repository at this point in the history
  • Loading branch information
igor10k committed Dec 4, 2024
1 parent a9c34b5 commit 778e18b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/source/legacy/host.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 778e18b

Please sign in to comment.