import React from 'react';
import ReactDOM from 'react-dom/client';
import { AppRouter } from 'router'
import { AppStore } from 'store'
import zhCN from 'antd/es/locale/zh_CN';
import { ConfigProvider } from 'antd';
import 'antd/dist/antd.less';
import './public.scss'

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

root.render(
  // <React.StrictMode>
    <ConfigProvider locale={zhCN}>
      <AppStore>
        <AppRouter />
      </AppStore>
    </ConfigProvider>
  // </React.StrictMode>
);
