1
0
Fork 0

chore: fixed linter warnings

This commit is contained in:
Joost De Cock 2022-02-13 16:10:51 +01:00
parent 89a489bb9f
commit 4da86eb643
6 changed files with 8 additions and 12 deletions

View file

@ -1,11 +1,9 @@
import { useState } from 'react'
import set from 'lodash.set'
// Stores state in local storage
import useLocalStorage from 'shared/hooks/useLocalStorage.js'
// Patterns
import patterns from 'site/patterns.json'
// Locale and translation
import { useRouter } from 'next/router'
import { useTranslation } from 'next-i18next'
import { capitalize } from 'shared/utils'
@ -54,8 +52,6 @@ const initialNavigation = (t) => {
function useApp(full = true) {
// Locale (aka language)
const router = useRouter()
const { locale } = router
const { t } = useTranslation(['app'])
// User color scheme preference