From e6ecf71cc3e8f48aeaa7308be9396fe2f97d889a Mon Sep 17 00:00:00 2001 From: Gala Date: Mon, 19 Dec 2022 10:52:29 +0100 Subject: [PATCH] refactor --- nym-wallet/src/components/Bonding/BondedMixnode.tsx | 2 +- nym-wallet/src/pages/delegation/index.tsx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/nym-wallet/src/components/Bonding/BondedMixnode.tsx b/nym-wallet/src/components/Bonding/BondedMixnode.tsx index 69b37b64f5..92b4bdb965 100644 --- a/nym-wallet/src/components/Bonding/BondedMixnode.tsx +++ b/nym-wallet/src/components/Bonding/BondedMixnode.tsx @@ -66,7 +66,7 @@ export const BondedMixnode = ({ network?: Network; onActionSelect: (action: TBondedMixnodeActions) => void; }) => { - const [nextEpoch, setNextEpoch] = useState(); + const [nextEpoch, setNextEpoch] = useState(); const navigate = useNavigate(); const { name, diff --git a/nym-wallet/src/pages/delegation/index.tsx b/nym-wallet/src/pages/delegation/index.tsx index 8fb399c6a8..50ac86b354 100644 --- a/nym-wallet/src/pages/delegation/index.tsx +++ b/nym-wallet/src/pages/delegation/index.tsx @@ -36,10 +36,9 @@ export const Delegation: FC<{ isStorybook?: boolean }> = ({ isStorybook }) => { const [confirmationModalProps, setConfirmationModalProps] = useState(); const [currentDelegationListActionItem, setCurrentDelegationListActionItem] = useState(); const [saturationError, setSaturationError] = useState<{ action: 'compound' | 'delegate'; saturation: string }>(); - const [nextEpoch, setNextEpoch] = useState(); + const [nextEpoch, setNextEpoch] = useState(); const theme = useTheme(); - const { clientDetails, network,