fix: handle permalinks with app shell (#468)
This commit is contained in:
parent
f8ebc0e99a
commit
8de1c95fd3
3 changed files with 11 additions and 3 deletions
|
@ -53,7 +53,8 @@ export default defineNuxtPlugin(async (nuxtApp) => {
|
|||
|
||||
nuxtApp.hook('app:suspense:resolve', () => {
|
||||
// TODO: improve upstream to make this synchronous (delayed auth)
|
||||
masto.loginTo(user)
|
||||
if (!masto.loggedIn.value)
|
||||
masto.loginTo(user)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue