-
-
Notifications
You must be signed in to change notification settings - Fork 343
Open
Labels
Description
Description
Hello,
When I'm trying to use getExtracted() inside a Promise.all(), I'm having the following error : ReferenceError: getExtracted is not defined
const [t] = await Promise.all([getExtracted()]);But, it works without the promise all :
const t = await getExtracted();Not sure if that's a bug or if it's intended.
Verifications
- I've verified that the problem I'm experiencing isn't covered in the docs.
- I've searched for similar, existing issues on GitHub and Stack Overflow.
- I've compared my app to a working example to look for differences.
Mandatory reproduction URL
https://github.com/Subrequest/next-intl-repro
Reproduction description
Described above.
Expected behaviour
Previously, I was using getTranslations() in the same way without any issue.