0

Hello i have issue with my app. I'm using truffle unbox react envoirment. I have simple component which render form and on submit i want to redirect. After i go back to form web3 is null. Here are some photos

This is my web3 setup. enter image description here

And this is my form component enter image description here

Once when i submit form component being redirect, and go back to my form line 28 from form component never resolve, even more web3 setup is not triggered. I think once if i can make web3 setup work, provider will be provided to my components. Any ideas how u solve this issue with react?

  • window.addEventListener('load') is never triggered again, how can i fix it? If i access my web3 provider from window i have access to it – Andon Mitev Apr 1 at 17:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.