Will add log statements to `useThreadSearchIndex` to make sure `communityRootMemebersToRole` gets computed as before.
Will also set breakpoints to check structure of `communityRootMembersToRole` to make sure it's as expected.
---
BEFORE (checking constructed `communityRootMembersToRole` within `useSearchIndex` with breakpoint):
{F1900642}
AFTER (checking return value of `useCommunityRootMembersToRole`):
{F1900645}
Note that I wasn't able to get breakpoints to hit in AFTER case for some reason, but I `console.log`ged and made sure that the structure of object was the same.