Skip to content

Commit 505d756

Browse files
committed
removed chakraUI from the field set for sequential tokenID
1 parent 3cfaac9 commit 505d756

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

apps/dashboard/src/components/contract-components/contract-deploy-form/sequential-token-id-fieldset.tsx

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import { FormFieldSetup } from "@/components/blocks/FormFieldSetup";
2-
import { FormControl } from "@chakra-ui/react";
2+
import { FormControl } from "@/components/ui/form";
33
import { SolidityInput } from "contract-ui/components/solidity-inputs";
44
import type { UseFormRegisterReturn } from "react-hook-form";
5-
import { FormHelperText, FormLabel } from "tw-components";
65

76
interface SequentialTokenIdFieldsetProps {
87
isInvalid: boolean;
@@ -16,21 +15,17 @@ export const SequentialTokenIdFieldset: React.FC<
1615
return (
1716
<FormFieldSetup
1817
htmlFor="startTokenId"
19-
label="Sequential Token ID"
18+
label="Start Token ID"
2019
isRequired={true}
2120
errorMessage={props.errorMessage}
21+
helperText="The starting token ID for the NFT collection."
2222
>
23-
<FormControl isRequired isInvalid={props.isInvalid}>
24-
<FormLabel>Start Token ID</FormLabel>
25-
23+
<FormControl>
2624
<SolidityInput
2725
solidityType="uint256"
2826
variant="filled"
2927
{...props.register}
3028
/>
31-
<FormHelperText className="!text-sm text-muted-foreground">
32-
The starting token ID for the NFT collection.
33-
</FormHelperText>
3429
</FormControl>
3530
</FormFieldSetup>
3631
);

0 commit comments

Comments
 (0)