UNPKG

orb-ui-firebase

Version:

Firebase with redux

11 lines (9 loc) 218 B
export function getAllLists(state) { return state.lists; } export function getList(state, location) { if (state.lists !== undefined && state.lists[location]) { return state.lists[location]; } return []; }