Skip to content

Commit 5702cd5

Browse files
committed
fix: hmr not working
1 parent 27e9fe3 commit 5702cd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/client.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ setStylesTarget(document.getElementById("styles-target"));
3838

3939
if ((module as any).hot) {
4040
(module as any).hot.accept("./app/containers", () => {
41-
const {NewApp} = require("./app/containers");
41+
const {App: NewApp} = require("./app/containers/App");
4242
ReactDOM.hydrate(
4343
<ReactHotLoader>
4444
<Provider store={store}>

0 commit comments

Comments
 (0)