Skip to content

Commit

Permalink
Fix null refrence exception if definitions don't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
aptkingston committed Aug 14, 2024
1 parent fa12abf commit 84db937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/components/Component.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
$: gridMetadata.set({
insideGrid:
parent?._component.endsWith("/container") && parent?.layout === "grid",
ignoresLayout: definition.ignoresLayout === true,
ignoresLayout: definition?.ignoresLayout === true,
id,
interactive,
styles: normalStyles,
Expand Down

0 comments on commit 84db937

Please sign in to comment.