Skip to content

Commit d2e3893

Browse files
author
Vikas Agarwal
committed
fixed lint error
1 parent 6d4ecea commit d2e3893

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/reducers/alerts.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ export default function(state = {}, action) {
4343
return Object.assign({}, state, {
4444
project: action.payload
4545
})
46-
case UPDATE_PROJECT_SUCCESS:
46+
47+
case UPDATE_PROJECT_SUCCESS: {
4748
const prevStatus = _.get(state, 'project.status', '')
4849
if (action.payload.status === PROJECT_STATUS_IN_REVIEW
4950
&& prevStatus && prevStatus !== PROJECT_STATUS_IN_REVIEW) {
@@ -54,6 +55,8 @@ export default function(state = {}, action) {
5455
return Object.assign({}, state, {
5556
project: action.payload
5657
})
58+
}
59+
5760
case REMOVE_PROJECT_MEMBER_SUCCESS:
5861
// show notification message if user leaving a project
5962
if (action.meta.isUserLeaving) {

0 commit comments

Comments
 (0)