Skip to content
Snippets Groups Projects
Verified Commit c229e6c9 authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Odpojeni od SSO

parent c3f8d69a
No related branches found
No related tags found
No related merge requests found
Pipeline #20196 passed
......@@ -8,7 +8,7 @@ import {
Routes,
useLocation,
} from "react-router-dom";
import { ReactKeycloakProvider as KeycloakProvider } from "@react-keycloak/web";
// import { ReactKeycloakProvider as KeycloakProvider } from "@react-keycloak/web";
import * as Sentry from "@sentry/react";
import { browserTracingIntegration } from "@sentry/browser"
import { extraErrorDataIntegration } from "@sentry/integrations";
......@@ -36,7 +36,7 @@ import Disabled from "./pages/Disabled";
import KidsnFun from "./pages/KidsnFun";
import Payment from "./pages/Payment";
import cfLogo from "./cf2023_kormidlo_lod.svg";
import keycloak from "./keycloak";
// import keycloak from "./keycloak";
import partyLogo from "./logo-full-black.svg";
import "./styles.css";
......@@ -186,6 +186,19 @@ const LoadingComponent = (
</div>
);
const AuthenticatedApp = () => {
return (
<>
<Suspense fallback={LoadingComponent}>
<BaseApp />
</Suspense>
</>
);
};
/*
const AuthenticatedApp = () => {
const keycloakInitConfig = {
onLoad: "check-sso",
......@@ -215,6 +228,7 @@ const AuthenticatedApp = () => {
</>
);
};
*/
const ErrorBoundaryFallback = ({ error }) => {
return (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment