Fix storybook
This commit is contained in:
parent
ef9c933ca8
commit
4dad859c4d
@ -1,5 +1,5 @@
|
||||
import React from "react";
|
||||
import Fallback from "../../dist/account";
|
||||
import Fallback from "../../dist/account/Fallback";
|
||||
import type { KcContext } from "./kcContext";
|
||||
import { useI18n } from "./i18n";
|
||||
import Template from "../../dist/account/Template";
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { createUseI18n } from "../../dist/account";
|
||||
|
||||
export const { useI18n } = createUseI18n({});
|
||||
export const { useI18n, ofTypeI18n } = createUseI18n({});
|
||||
|
||||
export type I18n = NonNullable<ReturnType<typeof useI18n>>;
|
||||
export type I18n = typeof ofTypeI18n;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React from "react";
|
||||
import Fallback from "../../dist/login";
|
||||
import Fallback from "../../dist/login/Fallback";
|
||||
import type { KcContext } from "./kcContext";
|
||||
import { useI18n } from "./i18n";
|
||||
import { useDownloadTerms } from "../../dist/login/lib/useDownloadTerms";
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { createUseI18n } from "../../dist/login";
|
||||
|
||||
export const { useI18n } = createUseI18n({});
|
||||
export const { useI18n, ofTypeI18n } = createUseI18n({});
|
||||
|
||||
export type I18n = NonNullable<ReturnType<typeof useI18n>>;
|
||||
export type I18n = typeof ofTypeI18n;
|
||||
|
Loading…
x
Reference in New Issue
Block a user