Уборка Unreachable statement. Замена === на == и !== на != в яваскриптах из-за ошибок с нестрогой типизацией при переходе на 7.4.

This commit is contained in:
2023-04-08 18:14:19 +03:00
parent 3f3ffc2114
commit cfaf82f73a
76 changed files with 2079 additions and 1918 deletions
+1 -1
View File
@@ -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());
}