mirror of
https://github.com/jackhh66/ChatGPT_Web_accessToken.git
synced 2026-12-03 21:19:32 +00:00
fix: default return in useLanguange() hook (#1352)
if `setLocale('zh-CN')`, `return` should be `zhCN`, not `enUS`.
This commit is contained in:
1 parent
527c8613b2
commit
da04383772
1 file changed
+1
-1
@@ -19,7 +19,7 @@ export function useLanguage() {
|
||||
return zhTW
|
||||
default:
|
||||
setLocale('zh-CN')
|
||||
return enUS
|
||||
return zhCN
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user