diff --git a/packages/ui/app/src/components/BottomNavigationNeighbors.tsx b/packages/ui/app/src/components/BottomNavigationNeighbors.tsx index 0709659c75..0e837d0fdb 100644 --- a/packages/ui/app/src/components/BottomNavigationNeighbors.tsx +++ b/packages/ui/app/src/components/BottomNavigationNeighbors.tsx @@ -14,16 +14,18 @@ export const BottomNavigationNeighbors: FC = (pr const neighborsFromAtom = useAtomValue(NEIGHBORS_ATOM); const neighbors = props.neighbors ?? neighborsFromAtom; - const prev = useMemo(() => { - if (neighbors.prev == null) { - return undefined; - } - return { - title: neighbors.prev.title, - excerpt: neighbors.prev.excerpt, - href: toHref(neighbors.prev.slug), - }; - }, [neighbors.prev, toHref]); + // TODO: Uncomment this when we improve the UI for the previous button + + // const prev = useMemo(() => { + // if (neighbors.prev == null) { + // return undefined; + // } + // return { + // title: neighbors.prev.title, + // excerpt: neighbors.prev.excerpt, + // href: toHref(neighbors.prev.slug), + // }; + // }, [neighbors.prev, toHref]); const next = useMemo(() => { if (neighbors.next == null) { @@ -36,5 +38,5 @@ export const BottomNavigationNeighbors: FC = (pr }; }, [neighbors.next, toHref]); - return ; + return ; };