Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

State is undefined #51

Closed
adammankowski1 opened this issue Apr 29, 2018 · 0 comments
Closed

State is undefined #51

adammankowski1 opened this issue Apr 29, 2018 · 0 comments

Comments

@adammankowski1
Copy link
Contributor

Expected behavior (user story)

Clicking the register button on the main page (Create new instance of MachineOwner contract) should create new instance of MachineOwner contract and give access to register new machine.

Actual behavior

After clicking the register button on the main page application throws App.js:132 Uncaught TypeError: Cannot read property 'state' of undefined
It is for sure related to App:144 where we put callback without binding it.
The same is with App.js:L148-L149

Steps to reproduce

  1. Click the register button on the bottom of the page
  2. Check console for undefined state error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant