Skip to content

Commit

Permalink
docs: fix compilation error (#14121)
Browse files Browse the repository at this point in the history
  • Loading branch information
timdeschryver authored Nov 2, 2024
1 parent 304d88e commit 8d0937a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions documentation/docs/06-runtime/03-lifecycle-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
```
Expand Down

0 comments on commit 8d0937a

Please sign in to comment.