diff --git a/src/components/modals/OperatorStakingModal.tsx b/src/components/modals/OperatorStakingModal.tsx index 48578c75..bd67e63d 100644 --- a/src/components/modals/OperatorStakingModal.tsx +++ b/src/components/modals/OperatorStakingModal.tsx @@ -159,7 +159,7 @@ const OperatorStakingModal = ({ setAmountToStake(textValue); }} - > + /> {gateway && (amountToStake?.length > 0 || (balances?.io || 0) < minRequiredStakeToAdd) && diff --git a/src/components/modals/OperatorWithdrawalModal.tsx b/src/components/modals/OperatorWithdrawalModal.tsx index 6799ad77..c28af7d6 100644 --- a/src/components/modals/OperatorWithdrawalModal.tsx +++ b/src/components/modals/OperatorWithdrawalModal.tsx @@ -144,7 +144,7 @@ const OperatorStakingModal = ({ setAmountToWithdraw(textValue); }} - > + /> {amountToWithdraw?.length > 0 && errorMessages.withdrawAmount && ( + /> {targetGateway && (amountToRedelegate?.length > 0 || maxRedelegationStake.valueOf() < minRequiredStakeToAdd) && diff --git a/src/components/modals/StakeWithdrawalModal.tsx b/src/components/modals/StakeWithdrawalModal.tsx index 4d7451c8..5c7d3c91 100644 --- a/src/components/modals/StakeWithdrawalModal.tsx +++ b/src/components/modals/StakeWithdrawalModal.tsx @@ -157,7 +157,7 @@ const StakeWithdrawalModal = ({ setAmountToWithdraw(textValue); }} - > + /> {amountToWithdraw?.length > 0 && errorMessages.withdrawAmount && ( + /> {gateway && (amountToStake?.length > 0 || (balances?.io || 0) < minRequiredStakeToAdd || diff --git a/src/pages/Observe/ObserveHeader.tsx b/src/pages/Observe/ObserveHeader.tsx index bf8504ce..c7afd7a6 100644 --- a/src/pages/Observe/ObserveHeader.tsx +++ b/src/pages/Observe/ObserveHeader.tsx @@ -33,7 +33,7 @@ const ObserveHeader = ({ }) => { const params = useParams(); const ownerId = params?.ownerId; - + const [runningObservation, setRunningObservation] = useState(false); // fetch current prescribed names, fallback to defaults @@ -79,7 +79,7 @@ const ObserveHeader = ({
Gateways
- + {gateway ? ( {gateway.settings.label} @@ -87,7 +87,7 @@ const ObserveHeader = ({ ) : ( )} - + Observe @@ -112,7 +112,7 @@ const ObserveHeader = ({ onChange={(e) => { setArnsNamesToSearch(e.target.value); }} - > + />