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