From 017d88324fc12a3669dcf275d814f40f9ff5ffa4 Mon Sep 17 00:00:00 2001 From: Kaan Kabalak Date: Tue, 13 Jun 2023 19:53:16 -0700 Subject: [PATCH] Fix failing React pipeline test (#1638) --- web-app/src/screens/LoginPage/LoginPage.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/web-app/src/screens/LoginPage/LoginPage.tsx b/web-app/src/screens/LoginPage/LoginPage.tsx index 718e2b68df3..3ef9d8d4134 100644 --- a/web-app/src/screens/LoginPage/LoginPage.tsx +++ b/web-app/src/screens/LoginPage/LoginPage.tsx @@ -292,10 +292,6 @@ const Login = () => { const isK8S = useSelector((state: AppState) => state.login.isK8S); - const isOperator = - loginStrategy.loginStrategy === loginStrategyType.serviceAccount || - loginStrategy.loginStrategy === loginStrategyType.redirectServiceAccount; - useEffect(() => { if (navigateTo !== "") { dispatch(resetForm());