Skip to content

Commit

Permalink
Fix passing parameters for translated error messages
Browse files Browse the repository at this point in the history
Fixes: #365
  • Loading branch information
mareklibra committed Oct 31, 2017
1 parent cfa1c33 commit 8116eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sagas.js
Original file line number Diff line number Diff line change
Expand Up @@ -972,5 +972,5 @@ const shortMessages = {
}

function shortErrorMessage ({ action }) {
return shortMessages[action.type] ? shortMessages[action.type] : msg.actionFailed(action.type)
return shortMessages[action.type] ? shortMessages[action.type] : msg.actionFailed({ action: action.type })
}

0 comments on commit 8116eca

Please sign in to comment.