mirror of
https://github.com/apotdevin/thunderhub.git
synced 2025-02-22 14:22:33 +01:00
chore: change fee admin switch
This commit is contained in:
parent
d92312a973
commit
661cf63b27
1 changed files with 22 additions and 22 deletions
|
@ -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={{
|
||||||
|
|
Loading…
Add table
Reference in a new issue