diff --git a/ui/pages/confirm-decrypt-message/confirm-decrypt-message.container.js b/ui/pages/confirm-decrypt-message/confirm-decrypt-message.container.js index 57358ecdd..65cc9ed3e 100644 --- a/ui/pages/confirm-decrypt-message/confirm-decrypt-message.container.js +++ b/ui/pages/confirm-decrypt-message/confirm-decrypt-message.container.js @@ -1,6 +1,7 @@ import { connect } from 'react-redux'; import { compose } from 'redux'; import { withRouter } from 'react-router-dom'; +import { cloneDeep } from 'lodash'; import { goHome, @@ -25,7 +26,7 @@ function mapStateToProps(state) { const unconfirmedTransactions = unconfirmedTransactionsListSelector(state); - const txData = unconfirmedTransactions[0]; + const txData = cloneDeep(unconfirmedTransactions[0]); const fromAccount = getTargetAccountWithSendEtherInfo( state,