UNPKG

orb-ui-firebase

Version:

Firebase with redux

15 lines (12 loc) 321 B
export function getAllCols(state) { return state.collections; } export function getAllInitializations(state) { return state.initialization; } export function getCol(state, location) { if (state.collections !== undefined && state.collections[location]) { return state.collections[location]; } return []; }