Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions web-app/src/MainRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,11 @@ import { baseUrl } from "./history";

const Login = React.lazy(() => import("./screens/LoginPage/Login"));
const Logout = React.lazy(() => import("./screens/LogoutPage/LogoutPage"));
const LoginCallback = React.lazy(
() => import("./screens/LoginPage/LoginCallback"),
);

const MainRouter = () => {
return (
<BrowserRouter basename={baseUrl}>
<Routes>
<Route
path="/oauth_callback"
element={
<Suspense fallback={<LoadingComponent />}>
<LoginCallback />
</Suspense>
}
/>
<Route
path="/logout"
element={
Expand Down
6 changes: 0 additions & 6 deletions web-app/src/screens/LoginPage/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ const Login = () => {
);
const navigateTo = useSelector((state: AppState) => state.login.navigateTo);

const isK8S = useSelector((state: AppState) => state.login.isK8S);

const backgroundAnimation = useSelector(
(state: AppState) => state.login.backgroundAnimation,
);
Expand Down Expand Up @@ -134,10 +132,6 @@ const Login = () => {
}

let docsURL = "https://min.io/docs/minio/linux/index.html?ref=con";
if (isK8S) {
docsURL =
"https://min.io/docs/minio/kubernetes/upstream/index.html?ref=con";
}

useEffect(() => {
dispatch(setHelpName("login"));
Expand Down
159 changes: 0 additions & 159 deletions web-app/src/screens/LoginPage/LoginCallback.tsx

This file was deleted.

Loading
Loading