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 ? ( <> { - +