Skip to content

Commit aa50bd7

Browse files
Update errors.md
Co-authored-by: Simon H <[email protected]>
1 parent 5233c8e commit aa50bd7

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/messages/shared-errors

1 file changed

+1
-1
lines changed

packages/svelte/messages/shared-errors/errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Certain lifecycle methods can only be used during component initialisation. To f
5454

5555
## snippet_without_render_tag
5656

57-
> Attempted to render a snippet without a `{@render}` block. This would cause the snippet to be rendered directly to the DOM. To fix this, change `{snippet}` to `{@render snippet()}`.
57+
> Attempted to render a snippet without a `{@render}` block. This would cause the snippet code to be stringified instead of its content being rendered to the DOM. To fix this, change `{snippet}` to `{@render snippet()}`.
5858
5959
A component throwing this error will look something like this (`children` is not being rendered):
6060

0 commit comments

Comments
 (0)