diff --git a/src/components/profile/Profile.svelte b/src/components/profile/Profile.svelte
index 51fa1ba..f9e9fbb 100644
--- a/src/components/profile/Profile.svelte
+++ b/src/components/profile/Profile.svelte
@@ -13,7 +13,7 @@
onMount(async () => {
try {
- user = await getUser("@me");
+ user = await getUser(id);
} catch (_) {}
});
diff --git a/src/routes/index/IndexRoute.svelte b/src/routes/index/IndexRoute.svelte
index a11be68..595d906 100644
--- a/src/routes/index/IndexRoute.svelte
+++ b/src/routes/index/IndexRoute.svelte
@@ -1,8 +1,8 @@
+ import {onMount} from "svelte";
+ import {navigate} from "svelte-navigator";
-