From 11656bb4d2598c1f3c6e86f83f941357e156528f Mon Sep 17 00:00:00 2001 From: acocalypso Date: Fri, 26 Apr 2024 22:52:58 +0200 Subject: [PATCH] fix unused vars --- src/components/shared/Footer.tsx | 2 +- src/components/shared/Nav.tsx | 1 - src/components/shared/Themesettings.tsx | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/shared/Footer.tsx b/src/components/shared/Footer.tsx index 3999c12..905c12b 100644 --- a/src/components/shared/Footer.tsx +++ b/src/components/shared/Footer.tsx @@ -4,7 +4,7 @@ import React from "react"; export default function Nav() { - const versionNumber = "2.2.0"; + const versionNumber = "2.2.1"; return ( diff --git a/src/components/shared/Nav.tsx b/src/components/shared/Nav.tsx index e656353..83ac8b0 100644 --- a/src/components/shared/Nav.tsx +++ b/src/components/shared/Nav.tsx @@ -6,7 +6,6 @@ export default function Nav() { const [modalOpen, setModalOpen] = useState(false); const [devEnabled, setDevEnabled] = useState(false); const [navbarOpen, setNavbarOpen] = useState(false); - const versionNumber = "2.2.1"; useEffect(() => { const devState = localStorage.getItem("devState"); diff --git a/src/components/shared/Themesettings.tsx b/src/components/shared/Themesettings.tsx index eabeecd..703aeab 100644 --- a/src/components/shared/Themesettings.tsx +++ b/src/components/shared/Themesettings.tsx @@ -57,6 +57,7 @@ function Modal() { export default Modal; +// eslint-disable-next-line no-unused-vars function handleThemeChange(arg0: string): void { throw new Error('Function not implemented.'); }