Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions reducers/tradeReducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ const tradeReducer = (state = initialState, actions) => {
...state,
trade: actions.payload
}
case SET_ERROR:
case SELL_TRADE:
return {
...state,
error: actions.payload
trade: actions.payload
}
case SET_ERROR:
return {
Expand All @@ -27,4 +27,4 @@ const tradeReducer = (state = initialState, actions) => {
}
}

export default tradeReducer
export default tradeReducer