[web] Move errorMessage state up from ThreadSettingsModal to ConnectedThreadSettingsModal
Summary:
Move errorMessage out of the inner class component state, and move it out to the wrapping "Connected" functional component.
As part of the work to refactor ThreadSettingsModal… specifically to turn it into a functional component.
Test Plan:
- Kill the node server
- Try to save a change to thead settings
- Observe that error message appears as expected
Note: The error message styling (showing up to the right of the button) isn't great. That's "on the todo list" and will be handled once the "noop" refactorings are complete.
Reviewers: def-au1t, palys-swm, ashoat
Reviewed By: ashoat
Subscribers: ashoat, Adrian, karol-bisztyga, benschac, yayabosh
Differential Revision: https://phabricator.ashoat.com/D3756