From 362412d5ce3aca8891c07c1ea8c629400da34e0d Mon Sep 17 00:00:00 2001 From: NishantBorthakur Date: Fri, 9 Jun 2023 16:49:15 +0530 Subject: [PATCH] removig unnecessary constant --- gui/pages/Content/Agents/ActivityFeed.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gui/pages/Content/Agents/ActivityFeed.js b/gui/pages/Content/Agents/ActivityFeed.js index ac3ee420b..318a85b2f 100644 --- a/gui/pages/Content/Agents/ActivityFeed.js +++ b/gui/pages/Content/Agents/ActivityFeed.js @@ -11,7 +11,6 @@ export default function ActivityFeed({selectedRunId, selectedView}) { const feedContainerRef = useRef(null); const [runStatus, setRunStatus] = useState("CREATED"); const [prevFeedsLength, setPrevFeedsLength] = useState(0); - const sideBarOpen = selectedView !== '' || false; useEffect(() => { const text = 'Thinking'; @@ -129,7 +128,7 @@ export default function ActivityFeed({selectedRunId, selectedView}) { } {feedContainerRef.current && feedContainerRef.current.scrollTop >= 1200 && -
+
back-to-top
}