diff --git a/src/ui/models/chains.ts b/src/ui/models/chains.ts index a5793933e24..f559821b5d7 100644 --- a/src/ui/models/chains.ts +++ b/src/ui/models/chains.ts @@ -74,14 +74,13 @@ export const chains = createModel()({ }, effects: (dispatch) => ({ init(_: void, store) { - Promise.race([store.app.wallet.getCustomTestnetLogos(), sleep(3000)]) - .then(() => store.app.wallet.getCustomTestnetList()) - .then((testnetList) => { - updateChainStore({ - testnetList: testnetList, - }); - this.setField({ testnetList }); + store.app.wallet.getCustomTestnetLogos(); + store.app.wallet.getCustomTestnetList().then((testnetList) => { + updateChainStore({ + testnetList: testnetList, }); + this.setField({ testnetList }); + }); getMainnetListFromLocal().then((mainnetList) => { if (mainnetList.length) { updateChainStore({