diff --git a/nym-wallet/src/components/textfields.tsx b/nym-wallet/src/components/textfields.tsx
index 085ede1ab3..afcbcfedb7 100644
--- a/nym-wallet/src/components/textfields.tsx
+++ b/nym-wallet/src/components/textfields.tsx
@@ -10,22 +10,17 @@ export const MnemonicInput: React.FC<{
error?: string;
onUpdateMnemonic: (mnemonic: string) => void;
}> = ({ mnemonic, error, onUpdateMnemonic }) => {
- const [showPassword, setShowPassword] = useState(false);
+ const [showMnemonic, setShowMnemonic] = useState(false);
return (
onUpdateMnemonic(e.target.value)}
- multiline
autoFocus
fullWidth
- inputProps={{
- style: {
- height: '160px',
- },
- }}
+ multiline={showMnemonic}
InputLabelProps={{ shrink: true }}
sx={{
'input::-webkit-textfield-decoration-container': {
@@ -34,7 +29,7 @@ export const MnemonicInput: React.FC<{
}}
/>
setShowPassword((show) => !show)} />}
+ control={ setShowMnemonic((show) => !show)} />}
label="Reveal my mnemonic"
/>
{error && }
diff --git a/nym-wallet/src/pages/bonding/node-settings/settings-pages/NodeUnbondPage.tsx b/nym-wallet/src/pages/bonding/node-settings/settings-pages/NodeUnbondPage.tsx
index f576afccd9..a1fb0ea3fe 100644
--- a/nym-wallet/src/pages/bonding/node-settings/settings-pages/NodeUnbondPage.tsx
+++ b/nym-wallet/src/pages/bonding/node-settings/settings-pages/NodeUnbondPage.tsx
@@ -1,5 +1,5 @@
import React, { useState } from 'react';
-import { Box, Button, Typography, Grid, TextField } from '@mui/material';
+import { Box, Button, Typography, Grid, TextField, Stack } from '@mui/material';
import { TBondedMixnode, TBondedGateway } from 'src/context/bonding';
import { Error } from 'src/components/Error';
import { UnbondModal } from 'src/components/Bonding/modals/UnbondModal';
@@ -15,38 +15,31 @@ export const NodeUnbondPage = ({ bondedNode, onConfirm, onError }: Props) => {
const [isConfirmed, setIsConfirmed] = useState(false);
//TODO: Check what happens with a gateway
return (
-
-
-
-
+
+
+
+
Unbond
-
- {isMixnode(bondedNode) && (
-
- theme.palette.nym.text.muted }}>
- If you unbond you will loose all delegations!
-
-
- )}
+
+ {isMixnode(bondedNode) && (
+
+ theme.palette.nym.text.muted }}>
+ Remember you should only unbond if you want to remove your node from the network for good.
+
+
+ )}
+
-
-
-
-
-
+
+
-
-
+
To unbond, type{' '}
t.palette.nym.highlight }}>
@@ -54,16 +47,14 @@ export const NodeUnbondPage = ({ bondedNode, onConfirm, onError }: Props) => {
{' '}
in the field below and click continue
-
-
+
setConfirmField(e.target.value)}
InputLabelProps={{ shrink: true }}
/>
-
-
+
-
+
{isConfirmed && (