major changes

state management now handled with redux
responsiveness uses custom hook (hooks.ts)
This commit is contained in:
TaylorS15
2023-02-14 21:43:14 -05:00
parent c44e1804bf
commit 5e5f13b664
10 changed files with 156 additions and 149 deletions

View File

@@ -2,12 +2,16 @@ import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
import { BrowserRouter } from 'react-router-dom';
import { Provider } from 'react-redux';
import store from './store';
import './index.css';
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
<React.StrictMode>
<BrowserRouter>
<App />
<Provider store={store}>
<App />
</Provider>
</BrowserRouter>
</React.StrictMode>,
);