import { ActionWithPayload , UIStateActions } from '../actions' ; export function loginRedirectUrl ( state = null , action ) { switch ( action . type ) { case UIStateActions . LOGIN_REDIRECT_URL : return action . payload ; default : return state ; } } export function resetPasswordLogs ( state = [ ] , action ) { switch ( action . type ) { case UIStateActions . RESET_PASSWORD_NOTIFICATION_LOGS : return action . payload ; default : return state ; } }