Skip to content

Commit 7871f6b

Browse files
authored
UI Forms Cleanup (#3538)
1 parent 3dc0fdc commit 7871f6b

File tree

6 files changed

+71
-428
lines changed

6 files changed

+71
-428
lines changed

web-app/src/MainRouter.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,11 @@ import { baseUrl } from "./history";
2323

2424
const Login = React.lazy(() => import("./screens/LoginPage/Login"));
2525
const Logout = React.lazy(() => import("./screens/LogoutPage/LogoutPage"));
26-
const LoginCallback = React.lazy(
27-
() => import("./screens/LoginPage/LoginCallback"),
28-
);
2926

3027
const MainRouter = () => {
3128
return (
3229
<BrowserRouter basename={baseUrl}>
3330
<Routes>
34-
<Route
35-
path="/oauth_callback"
36-
element={
37-
<Suspense fallback={<LoadingComponent />}>
38-
<LoginCallback />
39-
</Suspense>
40-
}
41-
/>
4231
<Route
4332
path="/logout"
4433
element={

web-app/src/screens/LoginPage/Login.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ const Login = () => {
5353
);
5454
const navigateTo = useSelector((state: AppState) => state.login.navigateTo);
5555

56-
const isK8S = useSelector((state: AppState) => state.login.isK8S);
57-
5856
const backgroundAnimation = useSelector(
5957
(state: AppState) => state.login.backgroundAnimation,
6058
);
@@ -134,10 +132,6 @@ const Login = () => {
134132
}
135133

136134
let docsURL = "https://min.io/docs/minio/linux/index.html?ref=con";
137-
if (isK8S) {
138-
docsURL =
139-
"https://min.io/docs/minio/kubernetes/upstream/index.html?ref=con";
140-
}
141135

142136
useEffect(() => {
143137
dispatch(setHelpName("login"));

web-app/src/screens/LoginPage/LoginCallback.tsx

Lines changed: 0 additions & 159 deletions
This file was deleted.

0 commit comments

Comments
 (0)