Skip to content
Snippets Groups Projects
Commit d80078a2 authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Do not call handleConnected in componentDidMount

Two reasons: 
1. Avoid triggering "connected" event, because the device was already connected
2. It is not good to call `setState` in componentDidMount, which is effectively what it was doing.
parent 11b2fee8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment