diff --git a/app/components/Views/confirmations/components/SignatureRequest/index.js b/app/components/Views/confirmations/components/SignatureRequest/index.js index ee4ce184cd0..aec69d3020a 100644 --- a/app/components/Views/confirmations/components/SignatureRequest/index.js +++ b/app/components/Views/confirmations/components/SignatureRequest/index.js @@ -423,7 +423,7 @@ class SignatureRequest extends PureComponent { } const mapStateToProps = (state) => ({ - isSimulationEnabled: selectTypedSignSimulationEnabled(state, Object.values(selectPendingApprovals(state) || {})[0].id), + isSimulationEnabled: selectTypedSignSimulationEnabled(state, Object.values(selectPendingApprovals(state) || {})[0]?.id), securityAlertResponse: state.signatureRequest.securityAlertResponse, selectedAddress: selectSelectedInternalAccountFormattedAddress(state), signatureRequest: Object.values(selectPendingApprovals(state) || {})[0],