Skip to content

Commit

Permalink
fix: use en as fallback init lng
Browse files Browse the repository at this point in the history
  • Loading branch information
hamster1963 committed Dec 15, 2024
1 parent c83eb75 commit 4804323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const resources = {
}

const getStoredLanguage = () => {
return localStorage.getItem("language") || "zh-CN"
return localStorage.getItem("language") || "en"
}

i18n.use(initReactI18next).init({
Expand Down

0 comments on commit 4804323

Please sign in to comment.