fix build

This commit is contained in:
Sacha Weatherstone committed 2023-07-28 15:47:03 +10:00
1 parent c9b06ed0e1
commit dbd4025ead
2 files changed
+7 -3

No files matched your search

+3 -1
View File
@@ -6,6 +6,7 @@ import { Subtle } from "@components/UI/Typography/Subtle.js";
import {
Control,
DeepPartial,
DefaultValues,
FieldValues,
Path,
SubmitHandler,
@@ -36,7 +37,8 @@ export interface DynamicFormProps<T extends FieldValues> {
onSubmit: SubmitHandler<T>;
submitType?: "onChange" | "onSubmit";
hasSubmitButton?: boolean;
defaultValues?: DeepPartial<T>;
// defaultValues?: DeepPartial<T>;
defaultValues?: DefaultValues<T>;
fieldGroups: {
label: string;
description: string;