import React from 'react';
import ReactDOM from 'react-dom/client';
import 'antd/dist/reset.css';
import { ConfigProvider } from 'antd';
import App from './App';
import 'dayjs/locale/zh-cn';
import zhCN from 'antd/locale/zh_CN';
import './assets/style/index.scss';
import dayjs from 'dayjs';
import { themeConfig } from './assets/theme';
import '~/style/index.scss';

dayjs.locale('zh-cn');

const root = ReactDOM.createRoot(document.getElementById('root')!);

root.render(
  // <React.StrictMode>
  <ConfigProvider locale={zhCN} theme={themeConfig}>
    <App />
  </ConfigProvider>,
  // </React.StrictMode>,
);
