Skip to content

Commit

Permalink
fix: DecoratorWrapper could error if it's Noop
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobrosenberg committed Feb 28, 2024
1 parent 5fc0853 commit 3394264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runtime/renderer/DecoratorWrapper.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
this={decorator ? decorator.component : Noop}
{context}
{isRoot}
{...decorator.props}>
{...decorator?.props}>
{#if restOfDecorators.length}
<svelte:self decorators={restOfDecorators} {context} isRoot={false}>
<slot />
Expand Down

0 comments on commit 3394264

Please sign in to comment.