rollback setInterval

pull/2545/head^2
yann300 2 years ago committed by Aniket
parent 1706e854ac
commit 888c15d834
  1. 2
      apps/remix-ide/src/blockchain/blockchain.js
  2. 2
      libs/remix-ui/run-tab/src/lib/actions/index.ts

@ -74,7 +74,7 @@ export class Blockchain extends Plugin {
this.networkStatus = { network, error } this.networkStatus = { network, error }
this.event.trigger('networkStatus', [this.networkStatus]) this.event.trigger('networkStatus', [this.networkStatus])
}) })
}, 100000) }, 1000)
} }
getCurrentNetworkStatus () { getCurrentNetworkStatus () {

@ -26,7 +26,7 @@ export const initRunTab = (udapp: RunTab) => async (reducerDispatch: React.Dispa
setupEvents(plugin, dispatch) setupEvents(plugin, dispatch)
setInterval(() => { setInterval(() => {
fillAccountsList(plugin, dispatch) fillAccountsList(plugin, dispatch)
}, 10000000) }, 1000)
} }
export const setAccountAddress = (account: string) => setAccount(dispatch, account) export const setAccountAddress = (account: string) => setAccount(dispatch, account)

Loading…
Cancel
Save