diff --git a/packages/app-staking/src/Account/Bonding.tsx b/packages/app-staking/src/Account/Bonding.tsx index f5afd757f9..efa2d4d3a2 100644 --- a/packages/app-staking/src/Account/Bonding.tsx +++ b/packages/app-staking/src/Account/Bonding.tsx @@ -12,7 +12,7 @@ import translate from '../translate'; type Props = I18nProps & { accountId: string, - bondedId: string, + bondedId: string | null, isOpen: boolean, onClose: () => void }; diff --git a/packages/app-staking/src/Account/index.tsx b/packages/app-staking/src/Account/index.tsx index 4b9db6392d..a283f00028 100644 --- a/packages/app-staking/src/Account/index.tsx +++ b/packages/app-staking/src/Account/index.tsx @@ -106,10 +106,6 @@ class Account extends React.PureComponent { const { accountId } = this.props; const { bondedId, isBondingOpen } = this.state; - if (!bondedId) { - return null; - } - return (