Skip to content

Commit f66d853

Browse files
committed
explain timeouts
1 parent 1b4dd13 commit f66d853

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

builder/src/App.tsx

+4
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,10 @@ function App() {
404404
setDefaultToken(undefined);
405405
setRequiredNetwork(undefined);
406406

407+
// These timeouts are necessary because the config
408+
// is used to reset the transferInput redux store
409+
// and if we change the network before that can happen
410+
// we get all kinds of fun errors
407411
setTimeout(() => {
408412
setHideConnect(true);
409413

0 commit comments

Comments
 (0)