Rename Fallback to DefaultPage

This commit is contained in:
Joseph Garrone
2024-06-09 11:24:50 +02:00
parent 7a040935e9
commit 8a25b93ab2
4 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
import React from "react";
import Fallback from "../../dist/account/Fallback";
import DefaultPage from "../../dist/account/Fallback";
import { useI18n } from "./i18n";
import type { KcContext } from "./KcContext";
import Template from "../../dist/account/Template";
@ -9,5 +9,5 @@ export default function KcApp(props: { kcContext: KcContext }) {
const { i18n } = useI18n({ kcContext });
return <Fallback kcContext={kcContext} i18n={i18n} Template={Template} doUseDefaultCss={true} />;
return <DefaultPage kcContext={kcContext} i18n={i18n} Template={Template} doUseDefaultCss={true} />;
}

View File

@ -1,5 +1,5 @@
import React from "react";
import Fallback from "../../dist/login/Fallback";
import DefaultPage from "../../dist/login/Fallback";
import type { KcContext } from "./KcContext";
import { useI18n } from "./i18n";
import { useDownloadTerms } from "../../dist/login/lib/useDownloadTerms";
@ -37,7 +37,7 @@ export default function KcApp(props: { kcContext: KcContext }) {
});
return (
<Fallback
<DefaultPage
kcContext={kcContext}
i18n={i18n}
Template={Template}