mirror of https://github.com/nuxt/nuxt.git
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