Skip to content

Commit ffcb1c7

Browse files
authored
Update README.md
1 parent 248c2aa commit ffcb1c7

File tree

1 file changed

+1
-1
lines changed
  • content/tutorial/02-advanced-svelte/09-special-elements/02-svelte-component

1 file changed

+1
-1
lines changed

content/tutorial/02-advanced-svelte/09-special-elements/02-svelte-component/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ We _could_ do this with a sequence of `if` blocks...
2727
{/each}
2828
</select>
2929
30-
+++<svelte:component this={selected.component}/>+++
30+
+++<svelte:component this={selected.component} />+++
3131
```
3232

3333
The `this` value can be any component constructor, or a falsy value — if it's falsy, no component is rendered.

0 commit comments

Comments
 (0)