diff options
author | Michael Foiani <mfoiani2019@communiyschoolnaples.org> | 2018-08-05 00:35:02 -0400 |
---|---|---|
committer | Michael Foiani <mfoiani2019@communiyschoolnaples.org> | 2018-08-05 00:35:02 -0400 |
commit | e386dcde43bbb4b750ec5ed81bc96832b93d02b2 (patch) | |
tree | ded8d1fc60e5ab1e679b1cd7476f1a2835360835 /src | |
parent | 68f2d6cc8716409e29cfecc407821b1c5196d333 (diff) |
Fixed small error.
Diffstat (limited to 'src')
-rw-r--r-- | src/actions/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions/app.js b/src/actions/app.js index e59a75b..9ae3184 100644 --- a/src/actions/app.js +++ b/src/actions/app.js @@ -57,7 +57,7 @@ const loadPage = (page) => (dispatch, getState) => { break; case 'admin': - if(getState.firebaseAuth.isAdmin) { + if(getState().firebaseAdmin.isAdmin) { import('../components/mao-admin.js'); } else { page = 'view404'; |