Allow bond (bondId can be null)

This commit is contained in:
Jaco Greeff 2019-03-27 16:40:57 +01:00
parent 1dc9d2bd27
commit 50ff4afb5c
2 changed files with 1 additions and 5 deletions

View File

@ -12,7 +12,7 @@ import translate from '../translate';
type Props = I18nProps & {
accountId: string,
bondedId: string,
bondedId: string | null,
isOpen: boolean,
onClose: () => void
};

View File

@ -106,10 +106,6 @@ class Account extends React.PureComponent<Props, State> {
const { accountId } = this.props;
const { bondedId, isBondingOpen } = this.state;
if (!bondedId) {
return null;
}
return (
<Bonding
accountId={accountId}