Skip to content
This repository was archived by the owner on Jul 7, 2021. It is now read-only.

Commit 43674a1

Browse files
committed
create postReducer file and fix the reducer issue by implementing basic reducer code in index file of reducers
1 parent 123ffa0 commit 43674a1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/reducers/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { combineReducers } from 'redux';
2+
import postReducer from './postReducer';
3+
4+
export default combineReducers({
5+
posts: postReducer
6+
});

src/reducers/postReducer.js

Whitespace-only changes.

0 commit comments

Comments
 (0)