Skip to content

Commit

Permalink
bug(bookmark): fix bookmark if user not logged in
Browse files Browse the repository at this point in the history
        - add redirect for non-logged in users
        - fix view one article bookmark if not logged in

        [Fixes #165305239]
  • Loading branch information
Siffersari committed Jun 20, 2019
1 parent 7a2e337 commit 80cc98f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/redux/reducers/bookmarkReducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const initialState = {
/*
*Defines reducer for Article bookmark component and returns the
*state based on the action types
*/
export default (state = initialState, action) => {
switch (action.type) {
Expand Down

0 comments on commit 80cc98f

Please sign in to comment.