Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript Error When Using Object Notation for fallbackLocale #173

Closed
ghost opened this issue Sep 15, 2023 · 2 comments · Fixed by #174
Closed

TypeScript Error When Using Object Notation for fallbackLocale #173

ghost opened this issue Sep 15, 2023 · 2 comments · Fixed by #174
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Sep 15, 2023

Describe the bug
I've encountered a bug in next-international when using Object notation for fallback Locale. It results in a TypeScript error.

Screenshots
image

About

  • next-international version 1.0.0
  • Next.js version 13.4.19

Additional context
This issue arises when defining locales using Object notation. When I use Dot notation, there's no problem.

@QuiiBz
Copy link
Owner

QuiiBz commented Sep 15, 2023

Good catch! Fixed in #174, I'll do a release very soon.

@QuiiBz
Copy link
Owner

QuiiBz commented Sep 15, 2023

Fix released in https://github.com/QuiiBz/next-international/releases/tag/1.0.1!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant