diff options
Diffstat (limited to 'client/src/index.js')
-rw-r--r-- | client/src/index.js | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/client/src/index.js b/client/src/index.js index bebdf88..92a3918 100644 --- a/client/src/index.js +++ b/client/src/index.js @@ -1,17 +1,13 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; -import './index.css'; +import './styles/index.css'; import App from './App'; -import reportWebVitals from './reportWebVitals'; -import { initVChartArcoTheme } from '@visactor/vchart-arco-theme'; +import reportWebVitals from './utils/reportWebVitals'; import { BrowserRouter } from 'react-router-dom';import { ConfigProvider } from '@arco-design/web-react'; import enUS from '@arco-design/web-react/es/locale/en-US'; -initVChartArcoTheme({ - defaultMode: 'light', - isWatchingMode: true -}); + const root = ReactDOM.createRoot(document.getElementById('root')); root.render( |