Auto-prettification

This commit is contained in:
jahooma 2022-08-10 17:06:34 +00:00 committed by github-actions[bot]
parent 05c9d3513a
commit 3d30a1adbc

View File

@ -328,8 +328,7 @@ function GroupsList(props: {
const { height } = useWindowSize() const { height } = useWindowSize()
const [containerRef, setContainerRef] = useState<HTMLDivElement | null>(null) const [containerRef, setContainerRef] = useState<HTMLDivElement | null>(null)
const remainingHeight = const remainingHeight = (height ?? 0) - (containerRef?.offsetTop ?? 0)
(height ?? 0) - (containerRef?.offsetTop ?? 0)
const notifIsForThisItem = useMemo( const notifIsForThisItem = useMemo(
() => (itemHref: string) => () => (itemHref: string) =>