refactored the `ThreadPicker` component to be a functional component now. The purpose of this was to optimize the searching and filtering of threads through the `useMemo` hook. Again there is no UI for this diff due to `Search` breaking the app since the focusing/blurring of the picker component prevents input in `Search`
---
[[ https://linear.app/comm/issue/ENG-1914/refactor-threadpicker-from-a-class-based-component-to-a-functional | ENG-1914 ]]
Depends on D5239