Skip to content

Commit

Permalink
Merge pull request #229 from tukcom2023CD/develop
Browse files Browse the repository at this point in the history
main으로 머지
  • Loading branch information
KoneJ authored Sep 2, 2023
2 parents 3863382 + a26bdc3 commit f65b9f2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions frontend/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ReactDOM from 'react-dom';
import ReactDOM from "react-dom/client";
import { Provider } from 'react-redux';
import { PersistGate } from 'redux-persist/integration/react';
import { persistStore } from 'redux-persist';
Expand All @@ -8,11 +8,12 @@ import App from './App';
// eslint-disable-next-line import/no-mutable-exports, prefer-const
export let persistor = persistStore(store);

ReactDOM.render(
const root = ReactDOM.createRoot(document.getElementById("root") as HTMLElement);

root.render(
<Provider store={store}>
<PersistGate loading={null} persistor={persistor}>
<App />
</PersistGate>
</Provider>,
document.getElementById('root'),
);

0 comments on commit f65b9f2

Please sign in to comment.