Skip to content

Commit

Permalink
feat: change copy token gated max locks (#960)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertfolch-redeemeum authored Dec 8, 2023
1 parent 72a9ff2 commit 6468583
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/product/utils/validationSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,8 @@ export const getTokenGatingValidationSchema = ({
throw this.createError({
path: this.path,
message: isOneVariant
? `This is greater than quantity (${formValues.coreTermsOfSale.quantity})`
: `This is greater than adding up the quantity of all variants (${variantsQuantity})`
? `Unlocks per wallet need to be greater than or equal to the quantity of the offers specified (${formValues.coreTermsOfSale.quantity})`
: `Unlocks per wallet need to be greater than or equal to the quantity of the offers specified (${variantsQuantity})`
});
}
return true;
Expand Down

0 comments on commit 6468583

Please sign in to comment.