useTranslation
errors when used inside a Nitro request hook
#31
Labels
status: review needed
Request for review
Describe the bug
When used inside a Nitro request hook, useTranslation (for server-side translation) errors:
Reproduction
nitroApp.hooks.hook("request", async (event) => { const t = await useTranslation(event) })
System Info
Used Package Manager
n/a
Additional context
The reproduction provided is extremely minimal as that's all that needs to be done in order to trigger the error. If necessary, I can provide a less minimal reproduction, please do let me know!
Validations
The text was updated successfully, but these errors were encountered: