From 7cfa35b542a7cc47e03897b3d407a1da331d1f64 Mon Sep 17 00:00:00 2001 From: fmtabbara Date: Mon, 23 Aug 2021 11:18:13 +0100 Subject: [PATCH] style updates --- tauri-wallet/src/routes/bond/BondForm.tsx | 9 ++++----- tauri-wallet/src/routes/receive.tsx | 5 ++++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/tauri-wallet/src/routes/bond/BondForm.tsx b/tauri-wallet/src/routes/bond/BondForm.tsx index aef7dcbeec..1fd8ecc222 100644 --- a/tauri-wallet/src/routes/bond/BondForm.tsx +++ b/tauri-wallet/src/routes/bond/BondForm.tsx @@ -19,7 +19,6 @@ type TBondNodeFormProps = { export const BondNodeForm = () => { const [advancedShown, setAdvancedShown] = React.useState(false) - const [type, setType] = useState(EnumNodeType.Mixnode) const [nodeType, setNodeType] = useState(EnumNodeType.Mixnode) const theme: Theme = useTheme() @@ -54,7 +53,7 @@ export const BondNodeForm = () => { fullWidth /> - + { {/* if it's a gateway - get location */} - - {type === EnumNodeType.Gateway && ( + + {nodeType === EnumNodeType.Gateway && ( { fullWidth /> - {type === EnumNodeType.Mixnode ? ( + {nodeType === EnumNodeType.Mixnode ? ( <> { - +