remove no-unused-vars from others too

This commit is contained in:
nikk gitanes
2021-06-06 20:37:02 +03:00
parent c03123fdc5
commit 4fdc6ddc5b
9 changed files with 8 additions and 15 deletions

View File

@@ -32,11 +32,10 @@ const fnRemoveAll = () => {
}
export default function RemoveAll() {
const { t } = useTranslation()
const [open, setOpen] = useState(false)
const closeDialog = () => setOpen(false)
const openDialog = () => setOpen(true)
// eslint-disable-next-line no-unused-vars
const { t } = useTranslation()
return (
<>
<ListItem button key={t('RemoveAll')} onClick={openDialog}>