From e8340482e90d7c8b802c6b2f341f0460b0a192d9 Mon Sep 17 00:00:00 2001 From: George Lima Date: Thu, 20 Dec 2018 11:33:00 -0300 Subject: [PATCH] feature: add select field in Send View fees --- app/views/send.js | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/app/views/send.js b/app/views/send.js index 4fb02de..fcced27 100644 --- a/app/views/send.js +++ b/app/views/send.js @@ -1,5 +1,5 @@ // @flow -import React, { PureComponent, Fragment } from 'react'; +import React, { PureComponent } from 'react'; import styled from 'styled-components'; import { InputLabelComponent } from '../components/input-label'; @@ -140,7 +140,6 @@ export class SendView extends PureComponent { inputType='textarea' placeholder='Enter a text here' /> - this.setState(state => ({ showFee: !state.showFee })) } @@ -151,15 +150,29 @@ export class SendView extends PureComponent { /> {showFee && ( - - - - + + + + + + + + + )}