Skip to content

Commit 706e317

Browse files
committed
chore: remove unrecoverableErrors check as there are none now
(cherry picked from commit 1ffe7b4)
1 parent 3436ff9 commit 706e317

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/runtime/refreshUtils.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ function createHotDisposeCallback(module) {
5252
* @returns {void}
5353
*/
5454
function hotDisposeCallback(data) {
55-
if (Refresh.hasUnrecoverableErrors()) {
56-
window.location.reload();
57-
}
58-
5955
// We have to mutate the data object to get data registered and cached
6056
data.module = module;
6157
}

0 commit comments

Comments
 (0)