(event: RelayEvent)
| 24 | } |
| 25 | |
| 26 | function getThreadRootId(event: RelayEvent): string { |
| 27 | const thread = getThreadReference(event.tags); |
| 28 | return thread.rootId ?? thread.parentId ?? event.id; |
| 29 | } |
| 30 | |
| 31 | export function useInboxThreadContext( |
| 32 | item: FeedItem | null, |
no test coverage detected