import {BrowserRouter as Router} from "react-router-dom";
import AppRouter from "./AppRouter.jsx";
import "/src/Styles/app.css";
import {Provider} from "react-redux";
import store from "../Redux/store.js";
import dayjs from "dayjs";
import locale from 'antd/locale/ru_RU';
import {ConfigProvider} from "antd";

dayjs.locale('ru');

const App = () => (
    <Provider store={store}>
        <Router>
            <ConfigProvider locale={locale}>
                <AppRouter/>
            </ConfigProvider>
        </Router>
    </Provider>
);

export default App;
