diff --git a/src/section-navigation.jsx b/src/section-navigation.jsx index 6073c76..9f480e5 100644 --- a/src/section-navigation.jsx +++ b/src/section-navigation.jsx @@ -19,7 +19,7 @@ export default function SectionNavigation({ prompt = "Jump To:" }) { updateSections(); document.addEventListener("accessci-update-sections", updateSections); }, []); - return ( + return sections.length >= 2 ? ( - ); + ) : null; }