Added breadcrumb object + breadcrumbs for major pages.
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
import { createSelector } from "reselect";
|
||||
|
||||
const selectApplication = state => state.application;
|
||||
const selectApplication = (state) => state.application;
|
||||
|
||||
export const selectLoading = createSelector(
|
||||
[selectApplication],
|
||||
application => application.loading
|
||||
(application) => application.loading
|
||||
);
|
||||
|
||||
export const selectBreadcrumbs = createSelector(
|
||||
[selectApplication],
|
||||
(application) => application.breadcrumbs
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user