fmt
This commit is contained in:
parent
af7733b3dc
commit
34971c67de
|
@ -12,6 +12,6 @@ const config: StorybookConfig = {
|
|||
name: "@storybook/react-vite",
|
||||
options: {}
|
||||
},
|
||||
staticDirs: ["../public"],
|
||||
staticDirs: ["../public"]
|
||||
};
|
||||
export default config;
|
||||
|
|
|
@ -9,7 +9,4 @@ export type KcContextExtension = {
|
|||
|
||||
export type KcContextExtensionPerPage = {};
|
||||
|
||||
export type KcContext = ExtendKcContext<
|
||||
KcContextExtension,
|
||||
KcContextExtensionPerPage
|
||||
>;
|
||||
export type KcContext = ExtendKcContext<KcContextExtension, KcContextExtensionPerPage>;
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
import type { DeepPartial } from "keycloakify/tools/DeepPartial";
|
||||
import type { KcContext } from "./KcContext";
|
||||
import { createGetKcContextMock } from "keycloakify/account/KcContext";
|
||||
import type {
|
||||
KcContextExtension,
|
||||
KcContextExtensionPerPage
|
||||
} from "./KcContext";
|
||||
import type { KcContextExtension, KcContextExtensionPerPage } from "./KcContext";
|
||||
import KcPage from "./KcPage";
|
||||
import { themeNames, kcEnvDefaults } from "../kc.gen";
|
||||
|
||||
|
|
|
@ -9,7 +9,4 @@ export type KcContextExtension = {
|
|||
|
||||
export type KcContextExtensionPerPage = {};
|
||||
|
||||
export type KcContext = ExtendKcContext<
|
||||
KcContextExtension,
|
||||
KcContextExtensionPerPage
|
||||
>;
|
||||
export type KcContext = ExtendKcContext<KcContextExtension, KcContextExtensionPerPage>;
|
||||
|
|
|
@ -5,7 +5,9 @@ import { useDownloadTerms } from "keycloakify/login";
|
|||
import { useI18n } from "./i18n";
|
||||
import DefaultPage from "keycloakify/login/DefaultPage";
|
||||
import Template from "keycloakify/login/Template";
|
||||
const UserProfileFormFields = lazy(() => import("keycloakify/login/UserProfileFormFields"));
|
||||
const UserProfileFormFields = lazy(
|
||||
() => import("keycloakify/login/UserProfileFormFields")
|
||||
);
|
||||
|
||||
const doMakeUserConfirmPassword = true;
|
||||
|
||||
|
@ -31,7 +33,9 @@ export default function KcApp(props: { kcContext: KcContext }) {
|
|||
break;
|
||||
}
|
||||
|
||||
const termsMarkdown = await fetch(`${import.meta.env.BASE_URL}terms/${termsFileName}`).then(r => r.text());
|
||||
const termsMarkdown = await fetch(
|
||||
`${import.meta.env.BASE_URL}terms/${termsFileName}`
|
||||
).then(r => r.text());
|
||||
|
||||
return { termsMarkdown, termsLanguageTag };
|
||||
}
|
||||
|
|
|
@ -2,10 +2,7 @@ import type { DeepPartial } from "keycloakify/tools/DeepPartial";
|
|||
import type { KcContext } from "./KcContext";
|
||||
import KcPage from "./KcPage";
|
||||
import { createGetKcContextMock } from "keycloakify/login/KcContext";
|
||||
import type {
|
||||
KcContextExtension,
|
||||
KcContextExtensionPerPage
|
||||
} from "./KcContext";
|
||||
import type { KcContextExtension, KcContextExtensionPerPage } from "./KcContext";
|
||||
import { themeNames, kcEnvDefaults } from "../kc.gen";
|
||||
|
||||
const kcContextExtension: KcContextExtension = {
|
||||
|
|
Loading…
Reference in a new issue