fix: add user id to page key (#241)

main
Daniel Roe 2022-11-30 09:41:14 +00:00 committed by GitHub
parent 6389cbfe38
commit b997feb6b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ setupPageHeader()
await setupI18n()
// We want to trigger rerendering the page when account changes
const key = computed(() => useMasto().instances.config.url || 'default')
const key = computed(() => currentServer.value + ':' + (currentUser.value?.account.id || ''))
</script>
<template>