diff --git a/src/components/userpage/heading.vue b/src/components/userpage/heading.vue index e3fff69f..37443503 100755 --- a/src/components/userpage/heading.vue +++ b/src/components/userpage/heading.vue @@ -6,7 +6,7 @@ import { useSession } from '~/store/session' import userpageStore from '~/store/userpage' const page = userpageStore() -const route = useRoute() +const route = useRoute<'user-handle'>() const { t, locale } = useI18n() const app$ = useNuxtApp() const session = useSession() diff --git a/src/pages/auth/login.vue b/src/pages/auth/login.vue index ff504ba5..eb39c63f 100755 --- a/src/pages/auth/login.vue +++ b/src/pages/auth/login.vue @@ -13,7 +13,7 @@ definePageMeta({ layout: 'centered', }) -const route = useRoute() +const route = useRoute<'auth-login'>() const app = useNuxtApp() const { t } = useI18n() diff --git a/src/pages/beatmap/[id].server.vue b/src/pages/beatmap/[id].server.vue index 11c1b7ea..9c299482 100644 --- a/src/pages/beatmap/[id].server.vue +++ b/src/pages/beatmap/[id].server.vue @@ -1,6 +1,6 @@