Skip to content

Commit

Permalink
fix: cannot switch route from index
Browse files Browse the repository at this point in the history
Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com>
  • Loading branch information
pdamianik committed Mar 22, 2024
1 parent 248d8f8 commit b63110c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
onMount(() => {
return () => {
cancel_changes.forEach((cancel) => {
cancel();
if (cancel) {
cancel();
}
});
};
});
Expand Down

0 comments on commit b63110c

Please sign in to comment.