1
0
Fork 0

chore: Fixing linter warnings

This commit is contained in:
joostdecock 2023-05-19 16:31:28 +02:00
parent e0ce1a8bcf
commit c49a47a0de
33 changed files with 76 additions and 547 deletions

View file

@ -1,5 +1,5 @@
// Hooks
import { useState, useEffect, useContext } from 'react'
import { useState, useContext } from 'react'
import { useTranslation } from 'next-i18next'
// Context
import { ModalContext } from 'shared/context/modal-context.mjs'
@ -15,9 +15,7 @@ import {
MenuIcon,
OptionsIcon,
PrintIcon,
SettingsIcon,
UploadIcon,
WrenchIcon,
} from 'shared/components/icons.mjs'
import { Ribbon } from 'shared/components/ribbon.mjs'
import Link from 'next/link'
@ -71,7 +69,6 @@ export const colors = [
'violet',
'purple',
]
const views = ['menu', 'draft', 'test', 'print', 'cut', 'save', 'export', 'edit', 'clear', 'help']
const NavIcons = ({ setModal, setView, view }) => {
const { t } = useTranslation(['header'])