Allow bond (bondId can be null)
This commit is contained in:
parent
1dc9d2bd27
commit
50ff4afb5c
@ -12,7 +12,7 @@ import translate from '../translate';
|
||||
|
||||
type Props = I18nProps & {
|
||||
accountId: string,
|
||||
bondedId: string,
|
||||
bondedId: string | null,
|
||||
isOpen: boolean,
|
||||
onClose: () => void
|
||||
};
|
||||
|
||||
@ -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}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user