♻️ drop svelte-spa-router

ref #23
This commit is contained in:
2021-01-02 22:25:52 +01:00
parent 3396d17358
commit 46491f38a0
6 changed files with 2 additions and 19 deletions

View File

@@ -17,10 +17,6 @@
import Avatars from "./Avatars.svelte";
import store from "../store";
import NoComponentLoaded from "./NoComponentLoaded.svelte";
//
import Router from "svelte-spa-router";
import { replace } from "svelte-spa-router";
import { wrap } from "svelte-spa-router/wrap";
let activePage = "dashboard";
let dropdown1 = false;
@@ -43,7 +39,7 @@
$: mobile = ismobile();
function logout() {
localForage.clear();
replace("/");
location.replace("/");
}
</script>