Inport specific powerhooks files to reduce bundle size

This commit is contained in:
garronej
2021-07-21 22:10:28 +02:00
parent 2688aefdfb
commit 05c98eb074
3 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ import type { KcProps } from "./KcProps";
import type { KcContextBase } from "../getKcContext/KcContextBase";
import { useKcMessage } from "../i18n/useKcMessage";
import { cx } from "tss-react";
import { useConstCallback } from "powerhooks";
import { useConstCallback } from "powerhooks/useConstCallback";
export const Login = memo(({ kcContext, ...props }: { kcContext: KcContextBase.Login; } & KcProps) => {