import { Store } from '@/store/root' ; import { ScreenState } from './index' ; function _stateScope ( state ) { return state . containers . loginForm ; } function isSending ( state ) { return _stateScope ( state ) . screenState === ScreenState . SENDING ; } function isFailed ( state ) { return _stateScope ( state ) . screenState === ScreenState . LOGIN_FAILED ; } export default { isSending , isFailed , } ;