diff --git a/web/components/nav/sidebar.tsx b/web/components/nav/sidebar.tsx index 713bc575..8879c052 100644 --- a/web/components/nav/sidebar.tsx +++ b/web/components/nav/sidebar.tsx @@ -329,7 +329,7 @@ function GroupsList(props: { const { height } = useWindowSize() const [containerRef, setContainerRef] = useState(null) const remainingHeight = - (height ?? window.innerHeight) - (containerRef?.offsetTop ?? 0) + (height ?? 0) - (containerRef?.offsetTop ?? 0) const notifIsForThisItem = useMemo( () => (itemHref: string) =>