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: default return in useLanguange() hook #1352

Merged
merged 1 commit into from
Apr 10, 2023

Conversation

idawnwon
Copy link
Contributor

if setLocale('zh-CN'), return should be zhCN, not enUS.

if `setLocale('zh-CN')`, `return` should be `zhCN`, not `enUS`.
@Chanzhaoyu Chanzhaoyu merged commit da04383 into Chanzhaoyu:main Apr 10, 2023
yinqf pushed a commit to yinqf/chatgpt-web that referenced this pull request Apr 14, 2023
if `setLocale('zh-CN')`, `return` should be `zhCN`, not `enUS`.
Rakers1024 pushed a commit to Rakers1024/chatgpt-web that referenced this pull request Apr 14, 2023
if `setLocale('zh-CN')`, `return` should be `zhCN`, not `enUS`.
Kerwin1202 referenced this pull request in chatgpt-web-dev/chatgpt-web Apr 15, 2023
chore: optimize code (#1328)
fix: conversationOptions
fix: default return in  hook (#1352)
HalfCoke pushed a commit to HalfCoke/chatgpt-web that referenced this pull request Jul 6, 2023
if `setLocale('zh-CN')`, `return` should be `zhCN`, not `enUS`.
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.

None yet

2 participants