Remove onload event.

This commit is contained in:
Spencer Ofwiti 2021-06-09 19:37:05 +03:00
parent 9439e25370
commit 156e937bc6
1 changed files with 0 additions and 2 deletions

View File

@ -12,7 +12,6 @@ import { BehaviorSubject, Observable, Subject } from 'rxjs';
export class TokenService {
registry: CICRegistry;
tokenRegistry: TokenRegistry;
onload: (status: boolean) => void;
tokens: Array<Token> = [];
private tokensList: BehaviorSubject<Array<Token>> = new BehaviorSubject<Array<Token>>(
this.tokens
@ -29,7 +28,6 @@ export class TokenService {
await this.registry.getContractAddressByName('TokenRegistry')
);
this.load.next(true);
this.onload(this.tokenRegistry !== undefined);
};
}