UNPKG
orb-ui-firebase
Version:
latest (0.0.8)
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Firebase with redux
orbsight
specfocus/orbsight
orb-ui-firebase
/
es
/
store
/
paths
/
selectors.js
11 lines
(9 loc)
•
218 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
export
function
getAllPaths
(
state
) {
return
state.
paths
; }
export
function
getPath
(
state, location
) {
if
(state.
paths
!==
undefined
&& state.
paths
[location]) {
return
state.
paths
[location]; }
return
{}; }