Fix regressions found by cypress tests

This commit is contained in:
SleepWalker
2019-12-07 23:53:22 +02:00
parent 8734956c79
commit c82468333f
9 changed files with 36 additions and 23 deletions

View File

@@ -51,7 +51,7 @@ export class AccountSwitcher extends React.Component<Props> {
const activeAccount = getActiveAccount({ accounts });
if (!activeAccount) {
throw new Error('Can not find active account');
return null;
}
let { available } = accounts;