feat(dev/shared): Ported PrevNext component to new nav structure
This commit is contained in:
parent
b89d0474ef
commit
0a8dd5f111
10 changed files with 145 additions and 133 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue