mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 17:30:59 +01:00
fix test
This commit is contained in:
parent
78c226b7b1
commit
4419a55977
@ -41,7 +41,7 @@ function create_fragment(ctx) {
|
||||
function instance($$self, $$props, $$invalidate) {
|
||||
let $foo;
|
||||
const foo = writable(0);
|
||||
component_subscribe($$self, foo, $$value => $$invalidate("$foo", $foo = $$value));
|
||||
component_subscribe($$self, foo, value => $$invalidate("$foo", $foo = value));
|
||||
return { foo, $foo };
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user