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

fix: check if config.fallback is undefined #2913

Merged
merged 6 commits into from May 8, 2024

Conversation

taku-hatano
Copy link
Contributor

PR description

Check if config.fallback is undefined.
If config.fallback is undefined, don't access to config.fallback[key].

Issue reference

Copy link

codesandbox-ci bot commented Mar 15, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@promer94
Copy link
Collaborator

promer94 commented May 2, 2024

Could you add a test for this pr ?

@taku-hatano
Copy link
Contributor Author

@promer94
Thank you for your review.
I added test!

@promer94 promer94 merged commit 2a5000e into vercel:main May 8, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Type error when fallback option with undefined.
2 participants