Удалён постоянный вызов dispatchBsod() при загрузке страницы

This commit is contained in:
ErickSkrauch 2017-01-28 14:56:58 +03:00
parent 21f21daf60
commit 338532c1e3

View File

@ -19,8 +19,6 @@ logger.init({
sentryCdn: window.SENTRY_CDN sentryCdn: window.SENTRY_CDN
}); });
import dispatchBsod from 'components/ui/bsod/dispatchBsod'; // TODO: remove after tests
const store = storeFactory(); const store = storeFactory();
bsodFactory(store, stopLoading); bsodFactory(store, stopLoading);
@ -36,7 +34,6 @@ Promise.all([
<Router history={browserHistory} onUpdate={() => { <Router history={browserHistory} onUpdate={() => {
restoreScroll(); restoreScroll();
stopLoading(); stopLoading();
setTimeout(dispatchBsod, 0); // TODO: remove after tests
}}> }}>
{routesFactory(store)} {routesFactory(store)}
</Router> </Router>