chore: fixed linter warnings
This commit is contained in:
parent
89a489bb9f
commit
4da86eb643
6 changed files with 8 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue