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:132Uncaught 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
Click the register button on the bottom of the page
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-L149Steps to reproduce