File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ export function ClaimableModuleUI(
282282}
283283
284284const claimConditionFormSchema = z . object ( {
285- tokenId : z . coerce . bigint ( ) . min ( 0n , { message : "Invalid tokenId" } ) . optional ( ) ,
285+ tokenId : z . number ( ) . min ( 0 , { message : "Invalid tokenId" } ) . optional ( ) ,
286286
287287 pricePerToken : z . coerce
288288 . number ( )
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ const mintFormSchema = z.object({
280280 customImage : z . string ( ) . optional ( ) ,
281281 customAnimationUrl : z . string ( ) . optional ( ) ,
282282 recipient : addressSchema ,
283- tokenId : z . coerce . bigint ( ) . min ( 0n , { message : "Invalid tokenId" } ) . optional ( ) ,
283+ tokenId : z . number ( ) . min ( 0 , { message : "Invalid tokenId" } ) . optional ( ) ,
284284} ) ;
285285
286286function MintNFTSection ( props : {
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ export function RoyaltyModuleUI(
225225}
226226
227227const royaltyInfoFormSchema = z . object ( {
228- tokenId : z . coerce . bigint ( ) . min ( 0n , { message : "Invalid tokenId" } ) ,
228+ tokenId : z . coerce . number ( ) . min ( 0 , { message : "Invalid tokenId" } ) ,
229229 recipient : addressSchema ,
230230 bps : z
231231 . string ( )
@@ -241,7 +241,7 @@ function RoyaltyInfoPerTokenSection(props: {
241241 const form = useForm < RoyaltyInfoFormValues > ( {
242242 resolver : zodResolver ( royaltyInfoFormSchema ) ,
243243 values : {
244- tokenId : 0n ,
244+ tokenId : 0 ,
245245 recipient : "" ,
246246 bps : "" ,
247247 } ,
You can’t perform that action at this time.
0 commit comments