[web] Add nameInputRef back to ThreadSettingsGeneralTab
Summary:
Bring back nameInputRef to ThreadSettingsGeneralTab using the React.useRef() hook.
We add nameInputRef.current?.focus() to the useEffect so the input is focused when it appears.
Depends on D3828
Test Plan:
- Open ThreadSettingsModal
- Ensure that the thread name input is focused
Reviewers: def-au1t, palys-swm
Reviewed By: palys-swm
Subscribers: ashoat, Adrian, karol-bisztyga, yayabosh
Differential Revision: https://phabricator.ashoat.com/D3832