Skip to content

Commit 12080f6

Browse files
authored
fix(auth): payload of AUTH_UPDATE_SUCCESS action dispatch fixed - @stefanhar
fix(auth): payload of AUTH_UPDATE_SUCCESS action dispatch fixed
2 parents 54bf3c6 + e5592e6 commit 12080f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/actions/auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ export const updateAuth = (dispatch, firebase, authUpdate, updateInProfile) => {
772772
.then(payload => {
773773
dispatch({
774774
type: actionTypes.AUTH_UPDATE_SUCCESS,
775-
payload: firebase.auth().currentUser
775+
auth: firebase.auth().currentUser
776776
})
777777
if (updateInProfile) {
778778
return updateProfile(dispatch, firebase, authUpdate)

0 commit comments

Comments
 (0)