mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Implemented strict mode for the project (broken tests, hundreds of @ts-ignore and new errors are included) [skip ci]
This commit is contained in:
committed by
SleepWalker
parent
10e8b77acf
commit
96049ad4ad
@@ -4,6 +4,7 @@ import { FormattedMessage as Message } from 'react-intl';
|
||||
|
||||
import BaseAuthBody from 'app/components/auth/BaseAuthBody';
|
||||
import { AccountSwitcher } from 'app/components/accounts';
|
||||
import { Account } from 'app/components/accounts/reducer';
|
||||
|
||||
import styles from './chooseAccount.scss';
|
||||
import messages from './ChooseAccount.intl.json';
|
||||
@@ -46,7 +47,7 @@ export default class ChooseAccountBody extends BaseAuthBody {
|
||||
);
|
||||
}
|
||||
|
||||
onSwitch = account => {
|
||||
onSwitch = (account: Account): void => {
|
||||
this.context.resolve(account);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user