diff options
| author | Michael Foiani <mfoiani2019@communiyschoolnaples.org> | 2018-08-04 20:35:19 -0400 |
|---|---|---|
| committer | Michael Foiani <mfoiani2019@communiyschoolnaples.org> | 2018-08-04 20:35:19 -0400 |
| commit | 8a4ac744830f61f1309ad83221a9736f0364fe1c (patch) | |
| tree | 7cd6d2f44ebc0b708c6ee8aa63e1335663910f3e /src/actions/app.js | |
| parent | dccdb5d99218396b59705d9852a081f4b657f446 (diff) | |
Deployed on firebase using the firebase.json config file. Also, fixed a spelling issue with forums.
Diffstat (limited to 'src/actions/app.js')
| -rw-r--r-- | src/actions/app.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/actions/app.js b/src/actions/app.js index c60f6e9..849fadb 100644 --- a/src/actions/app.js +++ b/src/actions/app.js @@ -26,7 +26,7 @@ export const navigate = (path) => (dispatch) => { dispatch(updateDrawerState(false)); }; -import {snapshotFourms} from './firebase.js'; +import {snapshotForums} from './firebase.js'; var hasSubscribedPosts = false; const loadPage = (page) => (dispatch) => { @@ -43,10 +43,10 @@ const loadPage = (page) => (dispatch) => { case 'tutor': import('../components/mao-tutoring.js'); break; - case 'fourms': - import('../components/mao-fourms.js').then((module) => { + case 'forums': + import('../components/mao-forums.js').then((module) => { if(!hasSubscribedPosts) { - dispatch(snapshotFourms()); + dispatch(snapshotForums()); hasSubscribedPosts = true; } }); |
