Skip to content

Commit

Permalink
refresh currentProjects when load project (microsoft#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
yongbing-chen authored Sep 29, 2020
1 parent 3044cc5 commit 53044f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/redux/reducers/recentProjectsReducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const reducer = (state: IProject[] = [], action: AnyAction): IProject[] =
let newState: IProject[] = null;

switch (action.type) {
case ActionTypes.LOAD_PROJECT_SUCCESS:
case ActionTypes.SAVE_PROJECT_SUCCESS:
return [
{ ...action.payload },
Expand Down

0 comments on commit 53044f7

Please sign in to comment.