import { ActionWithPayload , ApplicationSettingsActions } from '../actions' ; export function applicationSettings ( state = [ ] , action ) { switch ( action . type ) { case ApplicationSettingsActions . LOAD_APPLICATION_SETTINGS_SUCCESS : return action . payload ; default : return state ; } }