Skip to content

Commit

Permalink
FIX: Returning correct state for new deck
Browse files Browse the repository at this point in the history
Old decks were returned instead of fresh deck list.
  • Loading branch information
diogosilverio committed Jan 27, 2018
1 parent d15c3fb commit 1573795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reducers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function decks(state = { decks: {} }, action) {
}

return {
decks
decks: freshDecks
}
}
case DELETE_DECK: {
Expand Down

0 comments on commit 1573795

Please sign in to comment.