diff --git a/src/components/lastAdded/FooterNav.astro b/src/components/lastAdded/FooterNav.astro index edbdb65..8c8682b 100644 --- a/src/components/lastAdded/FooterNav.astro +++ b/src/components/lastAdded/FooterNav.astro @@ -17,7 +17,7 @@ fullPageList.forEach((n) => { }) const currentListIndex = pageList.findIndex((l) => l.includes(page)) -const currentList = pageList[currentListIndex] +const currentList = pageList[currentListIndex] ?? [] ---