aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send/send-content/send-content.component.js
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2018-09-04 22:27:40 +0800
committerGitHub <noreply@github.com>2018-09-04 22:27:40 +0800
commitb9e4feac489b8c478a7bff935c319588a2c3acf3 (patch)
treeb4304c29d0eb2bbe662a01c5fbadfbe99766b590 /ui/app/components/send/send-content/send-content.component.js
parent03d789a4902c2142a39dcf12fac1171301ae4a32 (diff)
parent65873e33e407b5af2c4134ddcbc48f4e81bdfa4f (diff)
downloadtangerine-wallet-browser-b9e4feac489b8c478a7bff935c319588a2c3acf3.tar.gz
tangerine-wallet-browser-b9e4feac489b8c478a7bff935c319588a2c3acf3.tar.zst
tangerine-wallet-browser-b9e4feac489b8c478a7bff935c319588a2c3acf3.zip
Merge pull request #5091 from MetaMask/i4945-feature-flag-hex-data
Adds feature flag toggle for the hex data row on the send screen.
Diffstat (limited to 'ui/app/components/send/send-content/send-content.component.js')
-rw-r--r--ui/app/components/send/send-content/send-content.component.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/components/send/send-content/send-content.component.js b/ui/app/components/send/send-content/send-content.component.js
index df7bcb7cc..9e0ce9c23 100644
--- a/ui/app/components/send/send-content/send-content.component.js
+++ b/ui/app/components/send/send-content/send-content.component.js
@@ -12,6 +12,7 @@ export default class SendContent extends Component {
static propTypes = {
updateGas: PropTypes.func,
scanQrCode: PropTypes.func,
+ showHexData: PropTypes.bool,
};
render () {
@@ -25,7 +26,7 @@ export default class SendContent extends Component {
/>
<SendAmountRow updateGas={(updateData) => this.props.updateGas(updateData)} />
<SendGasRow />
- <SendHexDataRow />
+ { this.props.showHexData ? <SendHexDataRow /> : null }
</div>
</PageContainerContent>
)