From af17d9c8fd157880b2090fceb96fbe8cd8da9c56 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 3 Apr 2024 08:48:37 -0600 Subject: [PATCH] Fix not listening at first --- web/src/pages/Logs.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/pages/Logs.tsx b/web/src/pages/Logs.tsx index 002558260..a1e1ef11d 100644 --- a/web/src/pages/Logs.tsx +++ b/web/src/pages/Logs.tsx @@ -237,7 +237,7 @@ function Logs() { }, // we need to listen on the current range of visible items // eslint-disable-next-line react-hooks/exhaustive-deps - [logRange], + [logRange, initialScroll], ); useEffect(() => {