diff --git a/components/account/AccountCard.vue b/components/account/AccountCard.vue index 7fb5bac6..f2118fdd 100644 --- a/components/account/AccountCard.vue +++ b/components/account/AccountCard.vue @@ -17,6 +17,7 @@ cacheAccount(account) shrink overflow-hidden :to="getAccountRoute(account)" + @click="$rememberAccountPosition(getAccountRoute(account).fullPath)" />
diff --git a/components/notification/NotificationCard.vue b/components/notification/NotificationCard.vue index 14e8a74a..d902a301 100644 --- a/components/notification/NotificationCard.vue +++ b/components/notification/NotificationCard.vue @@ -4,17 +4,15 @@ import type { mastodon } from 'masto' const { notification } = defineProps<{ notification: mastodon.v1.Notification }>() - -const nuxt = useNuxtApp() -function click() { - nuxt.$rememberAccountPosition(getAccountRoute(notification.account).fullPath) -}