mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2025-12-08 17:32:27 +08:00
feat: lint code
This commit is contained in:
@ -12,7 +12,6 @@ export const getLocaleOnClient = (): Locale => {
|
||||
export const setLocaleOnClient = (locale: Locale, notReload?: boolean) => {
|
||||
Cookies.set(LOCALE_COOKIE_NAME, locale)
|
||||
changeLanguage(locale)
|
||||
if (!notReload) {
|
||||
if (!notReload)
|
||||
location.reload()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user