From 188f588ce78282df5f28184de22d06d5e2e4f3e6 Mon Sep 17 00:00:00 2001 From: Evie Gauthier Date: Fri, 13 Mar 2026 22:21:51 -0400 Subject: [PATCH] fix(lint): adjust RoomTimeline callback dependencies for exhaustive-deps --- src/app/features/room/RoomTimeline.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/features/room/RoomTimeline.tsx b/src/app/features/room/RoomTimeline.tsx index ee59ec62..6bffcfd2 100644 --- a/src/app/features/room/RoomTimeline.tsx +++ b/src/app/features/room/RoomTimeline.tsx @@ -799,7 +799,7 @@ export function RoomTimeline({ }, }); }, - [alive, setAtBottom] + [alive, setAtBottom, room.roomId] ), useCallback(() => { if (!alive()) return; @@ -807,7 +807,7 @@ export function RoomTimeline({ setTimeline(getInitialTimeline(room)); scrollToBottomRef.current.count += 1; scrollToBottomRef.current.smooth = false; - }, [alive, room, room.roomId]) + }, [alive, room]) ); useLiveEventArrive(