Skip to content

Commit 5bf5132

Browse files
committed
remove error
1 parent da95bbd commit 5bf5132

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/reducers/templates.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,15 +164,13 @@ export default function(state = initialState, action) {
164164
Alert.error(`PROJECT METADATA CREATE FAILED: ${action.payload.response.data.result.content.message}`)
165165
return {
166166
...state,
167-
isLoading: false,
168-
error: false
167+
isLoading: false
169168
}
170169
case UPDATE_PROJECTS_METADATA_FAILURE:
171170
Alert.error(`PROJECT METADATA UPDATE FAILED: ${action.payload.response.data.result.content.message}`)
172171
return {
173172
...state,
174-
isLoading: false,
175-
error: false
173+
isLoading: false
176174
}
177175
case REMOVE_PROJECTS_METADATA_FAILURE:
178176
case REMOVE_PRODUCT_CATEGORY_FAILURE:
@@ -182,8 +180,7 @@ export default function(state = initialState, action) {
182180
Alert.error(`PROJECT METADATA DELETE FAILED: ${action.payload.response.data.result.content.message}`)
183181
return {
184182
...state,
185-
isRemoving: false,
186-
error: false
183+
isRemoving: false
187184
}
188185
case ADD_PROJECTS_METADATA_SUCCESS:
189186
case CREATE_PROJECT_TEMPLATE_SUCCESS:

0 commit comments

Comments
 (0)