1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 14:50:29 +00:00

style: optimize code

This commit is contained in:
liuhongbo
2024-06-17 10:03:58 +08:00
parent 154f102e61
commit e517ac05cc

View File

@@ -5,11 +5,6 @@ import Wiki from './pages/wiki2';
import i18n from './_i18n/i18n-sdoc-editor';
import Loading from './components/loading';
// i18 need `zh-CN`
if(window.app.config.lang === 'zh-cn') {
window.app.config.lang = 'zh-CN';
}
ReactDom.render(
<I18nextProvider i18n={i18n}>
<Suspense fallback={<Loading />}>