Skip to content

Commit 9974488

Browse files
committed
Fix duplicated switch statement.
1 parent d0e0d6d commit 9974488

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/reducers/articleList.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,6 @@ export default (state = {}, action) => {
5353
currentPage: 0,
5454
tag: null
5555
};
56-
case 'APPLY_TAG_FILTER':
57-
return {
58-
...state,
59-
articles: action.payload.articles,
60-
articlesCount: action.payload.articlesCount,
61-
tab: null,
62-
tag: action.tag,
63-
currentPage: 0
64-
};
6556
case 'PROFILE_PAGE_LOADED':
6657
case 'PROFILE_FAVORITES_PAGE_LOADED':
6758
return {

0 commit comments

Comments
 (0)