From e386dcde43bbb4b750ec5ed81bc96832b93d02b2 Mon Sep 17 00:00:00 2001 From: Michael Foiani Date: Sun, 5 Aug 2018 00:35:02 -0400 Subject: Fixed small error. --- src/actions/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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'; -- cgit v1.2.3-70-g09d2