File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
apps/dashboard/src/components/contract-components/contract-deploy-form Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { FormFieldSetup } from "@/components/blocks/FormFieldSetup";
22import { FormControl } from "@chakra-ui/react" ;
33import { SolidityInput } from "contract-ui/components/solidity-inputs" ;
44import type { UseFormRegisterReturn } from "react-hook-form" ;
5- import { FormErrorMessage , FormHelperText , FormLabel } from "tw-components" ;
5+ import { FormHelperText , FormLabel } from "tw-components" ;
66
77interface SequentialTokenIdFieldsetProps {
88 isInvalid : boolean ;
@@ -14,17 +14,20 @@ export const SequentialTokenIdFieldset: React.FC<
1414 SequentialTokenIdFieldsetProps
1515> = ( props ) => {
1616 return (
17- < FormFieldSetup label = "Sequential Token ID" >
17+ < FormFieldSetup
18+ htmlFor = "startTokenId"
19+ label = "Sequential Token ID"
20+ isRequired = { true }
21+ errorMessage = { props . errorMessage }
22+ >
1823 < FormControl isRequired isInvalid = { props . isInvalid } >
1924 < FormLabel > Start Token ID</ FormLabel >
25+
2026 < SolidityInput
2127 solidityType = "uint256"
2228 variant = "filled"
2329 { ...props . register }
2430 />
25-
26- < FormErrorMessage > { props . errorMessage } </ FormErrorMessage >
27-
2831 < FormHelperText className = "!text-sm text-muted-foreground" >
2932 The starting token ID for the NFT collection.
3033 </ FormHelperText >
You can’t perform that action at this time.
0 commit comments