1
0
Fork 0

feat(dev/shared): Ported PrevNext component to new nav structure

This commit is contained in:
joostdecock 2023-07-14 09:23:37 +02:00
parent b89d0474ef
commit 0a8dd5f111
10 changed files with 145 additions and 133 deletions

View file

@ -66,7 +66,7 @@ export const NavigationContextProvider = ({ children }) => {
})
const [extraPages, setExtraPages] = useState([])
const siteNav = useNavigation({ path: value.path, locale: value.locale }, extraPages)
const { siteNav } = useNavigation({ path: value.path, locale: value.locale }, extraPages)
const navState = buildNavState(value, siteNav)
const addPages = (extra) => {