From 054064a5436ceec0d244ab4b15a59263afd780e9 Mon Sep 17 00:00:00 2001 From: Ajay Bura <32841439+ajbura@users.noreply.github.com> Date: Tue, 1 Sep 2026 17:35:10 +0530 Subject: [PATCH] pass editor to thread view component --- src/app/features/room/thread-view/ThreadView.tsx | 6 +++++- src/app/features/room/thread-view/TimelineView.tsx | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/app/features/room/thread-view/ThreadView.tsx b/src/app/features/room/thread-view/ThreadView.tsx index 88fad377..3a8a0c07 100644 --- a/src/app/features/room/thread-view/ThreadView.tsx +++ b/src/app/features/room/thread-view/ThreadView.tsx @@ -74,7 +74,11 @@ export function ThreadView({ threadTimeline, threadFocusRef, requestClose }: Thr - +
; + editor: Editor; }; const PAGINATION_LIMIT = 80; -export function TimelineView({ threadTimeline, threadInputRef }: TimelineViewProps) { +export function TimelineView({ threadTimeline, threadInputRef, editor }: TimelineViewProps) { const ct = useClient(); const roomId = useRoom(); const encryptedRooms = useObservableValue(ct.encryptedRooms); - const editor = useEditor(); const { hideActivity,