mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-19 21:25:39 +00:00
5e5f13b664
state management now handled with redux responsiveness uses custom hook (hooks.ts)
18 lines
464 B
TypeScript
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>,
|
|
);
|