diff --git a/components/detailed-roadmap/index.js b/components/detailed-roadmap/index.js index fb73e780f..62525c2e5 100644 --- a/components/detailed-roadmap/index.js +++ b/components/detailed-roadmap/index.js @@ -11,15 +11,19 @@ import siteConfig from "storage/site"; const DetailedRoadmap = ({ roadmap }) => { const [menuActive, setMenuState] = useState(false); + const { + sidebar = {}, + page: currentPage = {} + } = roadmap; - const roadmapPages = Object.keys(roadmap.sidebar || {}).map(groupTitle => { + const roadmapPages = Object.keys(sidebar || {}).map(groupTitle => { return (

{ groupTitle }