Skip to content

Commit 1918ae8

Browse files
author
Bernabe
committed
fix minor bug on get session error
1 parent af4730e commit 1918ae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reducer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const reducer = (state = initialState, action) => {
1515
return { user: { ...state.user }, authenticated: true };
1616
}
1717
case GET_SESSION_ERROR: {
18-
return { user: { ...state.user }, authenticated: true };
18+
return { user: { ...state.user }, authenticated: false };
1919
}
2020
case GET_USER_SESSION_SUCCESS: {
2121
return { ...state, user: action.user };

0 commit comments

Comments
 (0)