chore: change fee admin switch

This commit is contained in:
AP 2020-02-07 07:19:17 +01:00
parent d92312a973
commit 661cf63b27

View file

@ -73,29 +73,29 @@ export const FeeCard = ({
{renderLine('Transaction Id:', transactionId)} {renderLine('Transaction Id:', transactionId)}
{renderLine('Transaction Vout:', transactionVout)} {renderLine('Transaction Vout:', transactionVout)}
<Separation /> <Separation />
<ResponsiveLine>
<NoWrapTitle>
<DarkSubTitle>{`Base Fee:`}</DarkSubTitle>
</NoWrapTitle>
<Input
placeholder={'Sats'}
color={textColorMap[theme]}
type={textColorMap[theme]}
onChange={e => setBaseFee(parseInt(e.target.value))}
/>
</ResponsiveLine>
<ResponsiveLine>
<NoWrapTitle>
<DarkSubTitle>{`Fee Rate:`}</DarkSubTitle>
</NoWrapTitle>
<Input
placeholder={'Sats/Million'}
color={textColorMap[theme]}
type={'number'}
onChange={e => setFeeRate(parseInt(e.target.value))}
/>
</ResponsiveLine>
<AdminSwitch> <AdminSwitch>
<ResponsiveLine>
<NoWrapTitle>
<DarkSubTitle>{`Base Fee:`}</DarkSubTitle>
</NoWrapTitle>
<Input
placeholder={'Sats'}
color={textColorMap[theme]}
type={textColorMap[theme]}
onChange={e => setBaseFee(parseInt(e.target.value))}
/>
</ResponsiveLine>
<ResponsiveLine>
<NoWrapTitle>
<DarkSubTitle>{`Fee Rate:`}</DarkSubTitle>
</NoWrapTitle>
<Input
placeholder={'Sats/Million'}
color={textColorMap[theme]}
type={'number'}
onChange={e => setFeeRate(parseInt(e.target.value))}
/>
</ResponsiveLine>
<SecureButton <SecureButton
callback={updateFees} callback={updateFees}
variables={{ variables={{