import React from 'react';
import ReactDOM from 'react-dom/client';
import dayjs from 'dayjs';
import 'dayjs/locale/ru';
import locale from 'antd/locale/ru_RU';
import { ConfigProvider } from 'antd';
import App from './App';

dayjs.locale('ru');

ReactDOM.createRoot(document.getElementById('root')!).render(
    <React.StrictMode>
        <ConfigProvider locale={locale}>
            <App />
        </ConfigProvider>
    </React.StrictMode>
);