1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-13 20:56:16 +00:00
seahub/frontend/src/index.js

16 lines
413 B
JavaScript
Raw Normal View History

2018-05-02 06:09:58 +00:00
// Import React!
import React from 'react';
import { createRoot } from 'react-dom/client';
2018-05-02 06:09:58 +00:00
import { I18nextProvider } from 'react-i18next';
import i18n from './i18n-seafile-editor';
2022-05-13 03:19:16 +00:00
import MarkdownEditor from './pages/markdown-editor';
2018-05-02 06:09:58 +00:00
import './index.css';
const root = createRoot(document.getElementById('root'));
root.render(
<I18nextProvider i18n={ i18n } >
2018-09-21 06:16:15 +00:00
<MarkdownEditor />
</I18nextProvider>
2018-05-02 06:09:58 +00:00
);