File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tests/runtime-runes/samples/snippet-validation-error Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ export function add_snippet_symbol(fn) {
119
119
export function validate_snippet ( snippet_fn ) {
120
120
if ( snippet_fn [ symbol ] !== true ) {
121
121
throw new Error (
122
- 'The argument to `{@html ...}` must be a snippet function, not a component or some other kind of function. ' +
122
+ 'The argument to `{@render ...}` must be a snippet function, not a component or some other kind of function. ' +
123
123
'If you want to dynamically render one snippet or another, use `$derived` and pass its result to `{@render ...}`.'
124
124
) ;
125
125
}
Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ export default test({
5
5
dev : true
6
6
} ,
7
7
error :
8
- 'The argument to `{@html ...}` must be a snippet function, not a component or some other kind of function. ' +
8
+ 'The argument to `{@render ...}` must be a snippet function, not a component or some other kind of function. ' +
9
9
'If you want to dynamically render one snippet or another, use `$derived` and pass its result to `{@render ...}`.'
10
10
} ) ;
You can’t perform that action at this time.
0 commit comments