import React from 'react';
import {RouterProvider} from 'react-router-dom';
import {ConfigProvider} from 'antd';
import zhCN from 'antd/locale/zh_CN';
import router from './router';

const App: React.FC = () => {
    return (
        <React.Fragment>
            <ConfigProvider locale={zhCN}>
                <RouterProvider router={router}/>
            </ConfigProvider>
        </React.Fragment>
    );
};

export default App; 