Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants