diff options
Diffstat (limited to 'src/index.tsx')
| -rw-r--r-- | src/index.tsx | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/index.tsx b/src/index.tsx index d671dba..37d6a5e 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,12 +1,17 @@ import { createRoot } from "react-dom/client"; import { StrictMode, lazy, Suspense } from "react"; -import { kcContext } from "./keycloakTheme/kcContext"; +import { kcContext } from "./keycloak-theme/kcContext"; const App = lazy(() => import("./App")); -const KcApp = lazy(() => import("./keycloakTheme/KcApp")); +const KcApp = lazy(() => import("./keycloak-theme/KcApp")); createRoot(document.getElementById("root")!).render( <StrictMode> - <Suspense>{kcContext === undefined ? <App /> : <KcApp kcContext={kcContext} />}</Suspense> - </StrictMode>, + <Suspense> + {kcContext === undefined ? + <App /> : + <KcApp kcContext={kcContext} /> + } + </Suspense> + </StrictMode> ); |