Radish alpha
r
Radicle desktop app
Radicle
Git (anonymous pull)
Log in to clone via SSH
Remove double navigation on app load
Sebastian Martinez committed 1 year ago
commit 0f5d13da7e390fd9f05ad6b228420c7214c6e54d
parent 5b33e1ecd5fb0935ae3ca8dfd0f059d5c89cefb7
1 file changed +1 -2
modified src/App.svelte
@@ -11,7 +11,6 @@
  import Home from "@app/views/Home.svelte";

  const activeRouteStore = router.activeRouteStore;
-
  void router.loadFromLocation();

  onMount(async () => {
    try {
@@ -21,7 +20,7 @@
        await invoke("authenticate");
      }

-
      void router.push({ resource: "home" });
+
      void router.loadFromLocation();
      // eslint-disable-next-line @typescript-eslint/no-explicit-any
    } catch (e: any) {
      void router.push({