mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +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
|
return true
|
||||||
}
|
}
|
||||||
} catch {
|
} catch {
|
||||||
// Within an async middleware
|
return false
|
||||||
return true
|
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user