diff options
author | Michael Foiani <mfoiani2019@communiyschoolnaples.org> | 2018-07-29 21:19:34 -0400 |
---|---|---|
committer | Michael Foiani <mfoiani2019@communiyschoolnaples.org> | 2018-07-29 21:19:34 -0400 |
commit | b311b6e9c2cb1865e66a4da45b5305ebc8b0ed77 (patch) | |
tree | ddb818fb5ea22864255249b9d37d54f6b3571220 /src/actions/firebase.js | |
parent | 43d10a870bb6b9189cfdf431445810df45db4739 (diff) |
Added dedicated account page for logging in.
Diffstat (limited to 'src/actions/firebase.js')
-rw-r--r-- | src/actions/firebase.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/actions/firebase.js b/src/actions/firebase.js index 8cc7d39..becc62e 100644 --- a/src/actions/firebase.js +++ b/src/actions/firebase.js @@ -30,6 +30,7 @@ export const signIn = (_email, _password) => (dispatch) => { } export const authFail = (errorCode) => { + alert(errorCode); return { type: AUTH_FAIL, payload: false, @@ -39,7 +40,7 @@ export const authFail = (errorCode) => { } export const authSuccess = (_user) => { - alert('authSuccess'); + alert('Sign In Success'); return { type: AUTH_SUCCESS, payload: true, @@ -70,8 +71,6 @@ export const UPDATE_HOURS = 'UPDATE_HOURS'; export const snapshotHours = () => (dispatch, getState) => { - alert('running'); - const currentState = getState().firebase; if(currentState.initialized) { var totalHours; @@ -96,7 +95,6 @@ export const snapshotHours = () => (dispatch, getState) => { } export const updateHours = (hours, reqHours) => { - console.log(reqHours); return { type: 'UPDATE_HOURS', approvedHours: hours, |