diff options
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, |