From cada118a113cec25f10ef653cb8d52f842b8e401 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Tue, 24 Mar 2026 19:20:23 +0000 Subject: [PATCH] fix(js/main): remove dead useState Signed-off-by: Xe Iaso --- web/js/main.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/web/js/main.tsx b/web/js/main.tsx index 848cfc9c..b2614216 100644 --- a/web/js/main.tsx +++ b/web/js/main.tsx @@ -92,7 +92,6 @@ function App({ anubisVersion, basePrefix }: AppProps) { >("loading"); // Error info - const [errorTitle, setErrorTitle] = useState(""); const [errorMessage, setErrorMessage] = useState(""); const [errorImage, setErrorImage] = useState(""); @@ -119,7 +118,6 @@ function App({ anubisVersion, basePrefix }: AppProps) { } const showError = (title: string, message: string, imageSrc: string) => { - setErrorTitle(title); setErrorMessage(message); setErrorImage(imageSrc); setPhase("error");