HomePhabricator
Diffusion Comm 009ce5a99500

[web] Move `onChangeName` up from `ThreadSettingsModal` to…

Description

[web] Move onChangeName up from ThreadSettingsModal to ConnectedThreadSettingsModal

Summary:
Move onChangeName out from inner class component to outer "Connected" functional component.

As part of the work to refactor ThreadSettingsModal... specifically to turn it into a functional component.


Depends on D3764

Test Plan:

  1. Open ThreadSettingsModal
  2. Change the thread name a bunch
  3. Log values in onChangeName to ensure that they continue to be as expected

Reviewers: def-au1t, palys-swm

Reviewed By: palys-swm

Subscribers: ashoat, Adrian, karol-bisztyga, benschac, yayabosh

Differential Revision: https://phabricator.ashoat.com/D3765