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/reducers/firebase.js | |
parent | dccdb5d99218396b59705d9852a081f4b657f446 (diff) |
Deployed on firebase using the firebase.json config file. Also, fixed a spelling issue with forums.
Diffstat (limited to 'src/reducers/firebase.js')
-rw-r--r-- | src/reducers/firebase.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/reducers/firebase.js b/src/reducers/firebase.js index 773f874..6c4e206 100644 --- a/src/reducers/firebase.js +++ b/src/reducers/firebase.js @@ -14,14 +14,14 @@ import { UPDATE_DIVISON, UPDATE_HOURS, UPDATE_REGISTERED_COMPETITIONS, - UPDATE_FOURM_POSTS, + UPDATE_FORUM_POSTS, UPDATE_ADMIN, UPDATE_ADMIN_REQUESTS, UPDATE_ADMIN_COMP_LIST } from '../actions/firebase.js'; -const firebase = (state = {initialized: false, hours: -1, requestedHours: -1, uid: "", userEmail: "", divison: "", registeredComps: [], fourmPosts: [], isAdmin: false, requests: [], compList: []}, action) => { +const firebase = (state = {initialized: false, hours: -1, requestedHours: -1, uid: "", userEmail: "", divison: "", registeredComps: [], forumPosts: [], isAdmin: false, requests: [], compList: []}, action) => { switch (action.type) { case AUTH_SUCCESS: return { @@ -62,10 +62,10 @@ const firebase = (state = {initialized: false, hours: -1, requestedHours: -1, ui } break; - case UPDATE_FOURM_POSTS: + case UPDATE_FORUM_POSTS: return { ...state, - fourmPosts : action.payload + forumPosts : action.payload } break; |