docs: fix compilation error (#14121)

pull/14126/head
Tim Deschryver 2 months ago committed by GitHub
parent 304d88edd0
commit 8d0937a534
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -71,9 +71,9 @@ While there's no "after update" hook, you can use `tick` to ensure that the UI i
$effect.pre(() => {
console.log('the component is about to update');
tick().then(
tick().then(() => {
console.log('the component just updated');
);
});
});
</script>
```

Loading…
Cancel
Save