mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Fix regressions found by cypress tests
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user