🔧 Fix for react-refresh plugin in production

This commit is contained in:
2022-06-14 13:04:29 -07:00
parent 7a3e0def34
commit a46eebb043
8 changed files with 233 additions and 12 deletions

View File

@@ -8,6 +8,7 @@ import App from "./components/App";
const rootEl = document.getElementById("root");
const root = createRoot(rootEl);
//In the entry of your indirect code path (e.g. some index.js), add the following two lines:
root.render(
<Provider store={store}>