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");