-
-
Notifications
You must be signed in to change notification settings - Fork 347
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: i18n config cache on vuex #4728
Conversation
SUCCESS @Jarsen136 PR for issue #4727 which is assigned to you. Please wait for review and don't hesitate to grab another issue in the meantime! |
✅ Deploy Preview for koda-nuxt ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
utils/config/i18n.ts
Outdated
export const getLangsFlags = () => langsFlags | ||
|
||
export const getUserFlag = (userLang: string) => | ||
langsFlags.find((lang) => lang.value === userLang)?.flag || langsFlags[0].flag |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why also flag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think getUserFlag
could stay in its original place.
Code Climate has analyzed commit 5d54022 and detected 0 issues on this pull request. View more on Code Climate. |
pay 50 usd let's try if it updates my instance on beta with new stuff |
😍 Perfect, I’ve sent the payout 🪅 Let’s grab another issue and get rewarded! |
pay 50 |
😍 Perfect, I’ve sent the payout 🪅 Let’s grab another issue and get rewarded! |
Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type
Context
Before submitting pull request, please make sure:
Optional
Had issue bounty label?
Community participation
Screenshot 📸