Skip to content

Commit

Permalink
fix: passing data from WalletError to actionStatus state
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinbodnar committed Mar 23, 2022
1 parent fba6b6b commit 2eade59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/frontend/src/redux/reducers/status/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ const alertReducer = (state, { error, ready, payload, meta, type }) => {
errorMessage: (error && payload?.message) || (type === 'SHOW_CUSTOM_ALERT' && payload.errorMessage) || undefined,
data: {
...meta?.data,
...payload?.data,
...payload
}
}
Expand Down

0 comments on commit 2eade59

Please sign in to comment.