Skip to content

Commit 5f2d830

Browse files
committed
fix(hotloading): WIP: hot loading
It's not yet done, it now does the hot loading, but also replays all the actions which were dispatched, expect more commits Fixes #44
1 parent ffb4d7f commit 5f2d830

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/redux/configureStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function configureStore(history: History, initialState?: IStore): Redux.S
3030

3131
if (appConfig.env === "development" && (module as any).hot) {
3232
(module as any).hot.accept("./rootReducer", () => {
33-
store.replaceReducer((require("./rootReducer")));
33+
store.replaceReducer((require("./rootReducer").default));
3434
});
3535
}
3636

0 commit comments

Comments
 (0)