mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
fix(nuxt): handle missing Nuxt context in useRoute
(#26633)
This commit is contained in:
parent
a3a28a913e
commit
af3594c788
@ -85,8 +85,7 @@ const isProcessingMiddleware = () => {
|
||||
return true
|
||||
}
|
||||
} catch {
|
||||
// Within an async middleware
|
||||
return true
|
||||
return false
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user