DocsGPT/frontend/src/main.tsx
TaylorS15 5e5f13b664 major changes
state management now handled with redux
responsiveness uses custom hook (hooks.ts)
2023-02-14 21:43:14 -05:00

18 lines
464 B
TypeScript

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>
<Provider store={store}>
<App />
</Provider>
</BrowserRouter>
</React.StrictMode>,
);