()
| 24 | }; |
| 25 | |
| 26 | function useInfosForPendingThread(): InfosForPendingThread { |
| 27 | const isChatCreation = useSelector( |
| 28 | state => state.navInfo.chatMode === 'create', |
| 29 | ); |
| 30 | const { selectedUserInfos = [] } = useProtocolSelection(); |
| 31 | return { |
| 32 | isChatCreation, |
| 33 | selectedUserInfos, |
| 34 | }; |
| 35 | } |
| 36 | |
| 37 | function useThreadInfoForPossiblyPendingThread( |
| 38 | activeChatThreadID: ?string, |
no test coverage detected