Skip to content

Commit a3486ff

Browse files
committed
updated typings
1 parent c4385fa commit a3486ff

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components/nft/PropertiesFormControl.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@ import {
1616
useFieldArray,
1717
} from "react-hook-form";
1818

19-
type OptionalPropertiesInput = {
20-
[key: string]: string | number;
21-
};
22-
2319
interface IPropertyFieldValues extends FieldValues {
24-
attributes?: OptionalPropertiesInput;
20+
attributes?: {
21+
trait_type: string;
22+
value: string;
23+
}[];
2524
}
2625

2726
export function PropertiesFormControl<

0 commit comments

Comments
 (0)