diff --git a/client/index.js b/client/index.js index 34a0a95775..9908c284f7 100644 --- a/client/index.js +++ b/client/index.js @@ -68,8 +68,9 @@ createApp({ }) .doOnNext(({ store }) => { if (module.hot && typeof module.hot.accept === 'function') { - module.hot.accept(err => { - if (err) { console.error(err); } + module.hot.accept(() => { + // note(berks): not sure this ever runs anymore after adding + // RHR? log('saving state and refreshing.'); log('ignore react ssr warning.'); saveToColdStorage(store.getState());