Skip to content

Commit

Permalink
Icon jump fix and 404 (#111)
Browse files Browse the repository at this point in the history
* cosmetic tweak

* loader spedup

* 404 fix
  • Loading branch information
bamanczak authored Nov 28, 2024
1 parent 446a66a commit f725a23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions blog/src/components/Switcher.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
useFunMode.set("false");
if (pathname == "/") {
navigate("/boring/blog");
} else if (is404) {
navigate("/boring/404");
} else {
navigate(`/boring${pathname}`);
}
Expand Down

0 comments on commit f725a23

Please sign in to comment.