1
0
Fork 0

chore(dev): Fix linter warnings in sites/dev

This commit is contained in:
joostdecock 2023-05-19 16:40:15 +02:00
parent 1c95f8ed34
commit 00179cfeea
2 changed files with 3 additions and 9 deletions

View file

@ -1,12 +1,7 @@
import { useContext, useEffect } from 'react'
import { NavigationContext } from 'shared/context/navigation-context.mjs'
import { useEffect } from 'react'
import get from 'lodash.get'
import { prebuildNavigation as pbn } from 'site/prebuild/navigation.mjs'
import { useTranslation } from 'next-i18next'
import orderBy from 'lodash.orderby'
import { freeSewingConfig as conf } from 'shared/config/freesewing.config.mjs'
import { useAccount } from 'shared/hooks/use-account.mjs'
import { designs, tags } from 'shared/config/designs.mjs'
/*
* prebuildNavvigation[locale] holds the navigation structure based on MDX content.
@ -19,7 +14,7 @@ import { designs, tags } from 'shared/config/designs.mjs'
* Note: Set 'c' to set the control level to hide things from users
*/
const ns = ['account', 'sections', 'design', 'tags']
export const ns = ['account', 'sections', 'design', 'tags']
const sitePages = () => {
const pages = {