From 4cce587372c84fa3bbe31ef4dd7c43ec7f1d2d8f Mon Sep 17 00:00:00 2001 From: 7w1 Date: Fri, 20 Mar 2026 00:33:43 -0500 Subject: [PATCH] fix edit not editing --- src/app/features/room/RoomTimeline.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/features/room/RoomTimeline.tsx b/src/app/features/room/RoomTimeline.tsx index d79d21c6..5e203610 100644 --- a/src/app/features/room/RoomTimeline.tsx +++ b/src/app/features/room/RoomTimeline.tsx @@ -628,7 +628,8 @@ export function RoomTimeline({ : timelineSync.eventsLength; const vListIndices = useMemo( () => Array.from({ length: vListItemCount }, (_, i) => i), - [vListItemCount] + // eslint-disable-next-line react-hooks/exhaustive-deps + [vListItemCount, timelineSync.timeline] ); const processedEvents = useProcessedTimeline({