This commit is contained in:
grinikita
2024-12-14 12:32:32 +03:00
parent b997d670a0
commit 0ad224f04d
11 changed files with 191 additions and 32 deletions

View File

@@ -1,9 +1,15 @@
import React from 'react';
import { RouterProvider } from 'react-router-dom';
import { router } from './router';
import { store } from '../../store';
import { Provider } from 'react-redux';
const Main = (): React.ReactElement => {
return <RouterProvider router={router} />;
return (
<Provider store={store}>
<RouterProvider router={router} />
</Provider>
);
};
export default Main;