refactor: update main.tsx to use double quotes and correct render syntax
This commit is contained in:
parent
e15111a8fe
commit
72a3c99299
16
src/main.tsx
16
src/main.tsx
@ -1,17 +1,17 @@
|
||||
// import { StrictMode } from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import { Provider } from 'react-redux';
|
||||
import { PersistGate } from 'redux-persist/integration/react';
|
||||
import { store, persistor } from './store/store';
|
||||
import './index.css';
|
||||
import App from './App.tsx';
|
||||
import { createRoot } from "react-dom/client";
|
||||
import { Provider } from "react-redux";
|
||||
import { PersistGate } from "redux-persist/integration/react";
|
||||
import { store, persistor } from "./store/store";
|
||||
import "./index.css";
|
||||
import App from "./App.tsx";
|
||||
|
||||
createRoot(document.getElementById('root')!).render(
|
||||
createRoot(document.getElementById("root")!).render(
|
||||
// <StrictMode>
|
||||
<Provider store={store}>
|
||||
<PersistGate loading={null} persistor={persistor}>
|
||||
<App />
|
||||
</PersistGate>
|
||||
</Provider>
|
||||
</Provider>,
|
||||
// </StrictMode >
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user