Файловый менеджер - Редактировать - /home/freeclou/app.optimyar.com/backend/.cache/admin/src/utils/checkStore.js
Назад
import conformsTo from 'lodash/conformsTo'; import isFunction from 'lodash/isFunction'; import isObject from 'lodash/isObject'; import invariant from 'invariant'; /** * Validate the shape of redux store */ export default function checkStore(store) { const shape = { dispatch: isFunction, subscribe: isFunction, getState: isFunction, replaceReducer: isFunction, runSaga: isFunction, injectedReducers: isObject, injectedSagas: isObject, }; invariant( conformsTo(store, shape), '(app/utils...) injectors: Expected a valid redux store', ); }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка