Fix E2E error

This commit is contained in:
junderw
2022-09-04 21:53:52 +09:00
committed by softsimon
parent d825143b35
commit 2c59992d3f
2 changed files with 1 additions and 219 deletions

View File

@@ -65,7 +65,7 @@ export class SearchFormComponent implements OnInit {
this.stateService.networkChanged$.subscribe((network) => {
this.network = network;
// TODO: Eventually change network type here from string to enum of consts
this.regexAddress = getRegex('address', network as any);
this.regexAddress = getRegex('address', network as any || 'mainnet');
});
this.searchForm = this.formBuilder.group({