truffle-box / react-box

Truffle, Webpack and React boilerplate.
https://truffle-box.github.io/
MIT License
736 stars 251 forks source link

Removing window.addEventListener('load',async () .... #118

Closed yasir991925 closed 4 years ago

yasir991925 commented 4 years ago

this change goes with https://github.com/truffle-box/react-box/pull/117 the provide the other change that has an effect on this file async function doesn't work property with useEffect on mount ( and this is the reason for this change and goes with the change mentioned in the link )