Remove onload event.
This commit is contained in:
parent
9439e25370
commit
156e937bc6
@ -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);
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user