Уборка Unreachable statement. Замена === на == и !== на != в яваскриптах из-за ошибок с нестрогой типизацией при переходе на 7.4.
This commit is contained in:
@@ -4,7 +4,7 @@ import { allowRender, cleanState, setStep } from './redux/actions.js';
|
||||
import { dispatch, getState, subscribe } from './redux/store.js';
|
||||
|
||||
const openRegistrationTrainingModal = () => {
|
||||
if (localStorage.getItem('modalTest') === 'kravich') {
|
||||
if (localStorage.getItem('modalTest') == 'kravich') {
|
||||
createModalElements();
|
||||
dispatch(allowRender());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user