mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-29 21:32:44 -08:00
fix root element in thread looking wrongly selected
Signed-off-by: Shea <[email protected]>
This commit is contained in:
1 file changed
+1
-2
@@ -229,8 +229,7 @@ export function ThreadDrawer({ room, threadRootId, onClose, overlay }: ThreadDra
|
||||
// Reply draft (keyed by threadRootId to match RoomInput's draftKey logic)
|
||||
const setReplyDraft = useSetAtom(roomIdToReplyDraftAtomFamily(threadRootId));
|
||||
const replyDraft = useAtomValue(roomIdToReplyDraftAtomFamily(threadRootId));
|
||||
const activeReplyId = replyDraft?.eventId;
|
||||
|
||||
const activeReplyId = replyDraft?.body ? replyDraft?.eventId : undefined;
|
||||
// User profile popup
|
||||
const openUserRoomProfile = useOpenUserRoomProfile();
|
||||
|
||||
|
||||
Reference in new issue
Block a user