From b712ed04219df20bf482fb3af5ccc5c9ea6d54ae Mon Sep 17 00:00:00 2001 From: garronej Date: Mon, 27 Feb 2023 11:32:00 +0100 Subject: [PATCH] Avoid using tsafe utils to avoid forcing user to install tsafe --- src/lib/pages/shared/UserProfileCommons.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/pages/shared/UserProfileCommons.tsx b/src/lib/pages/shared/UserProfileCommons.tsx index 2eed1c0b..445f56b6 100644 --- a/src/lib/pages/shared/UserProfileCommons.tsx +++ b/src/lib/pages/shared/UserProfileCommons.tsx @@ -5,10 +5,9 @@ import { clsx } from "../../tools/clsx"; import { useCallbackFactory } from "../../tools/useCallbackFactory"; import { useFormValidationSlice } from "../../useFormValidationSlice"; import type { I18nBase } from "../../i18n"; -import type { Param0 } from "tsafe/Param0"; export type UserProfileFormFieldsProps = { - kcContext: Param0["kcContext"]; + kcContext: Parameters[0]["kcContext"]; i18n: I18nBase; } & KcProps & Partial JSX.Element | null>> & {