Skip to content

Commit f598283

Browse files
committed
HMR in src/app/main.js is no-longer needed.
1 parent c81e32a commit f598283

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/app/main.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,4 @@ import { Shell } from '@atomic-reactor/reactium-core/app/shell';
1010
const { AppError } = await import('@atomic-reactor/reactium-core/app');
1111
await AppError(error);
1212
}
13-
14-
/**
15-
* @description Initialize the app.
16-
*/
17-
if (module.hot) {
18-
module.hot.accept(
19-
[
20-
'../../reactium_modules/@atomic-reactor/reactium-core/dependencies/index.js',
21-
'../../reactium_modules/@atomic-reactor/reactium-core/app.js',
22-
'../../reactium_modules/@atomic-reactor/reactium-core/sdk/index.js',
23-
],
24-
() => {
25-
window.location.reload();
26-
},
27-
);
28-
}
2913
})();

0 commit comments

Comments
 (0)