Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
josemarinas committed Sep 19, 2023
1 parent b83c0aa commit d61b704
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/client/src/internal/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const DepositErc1155Schema = object({
"isSameLength",
new SizeMismatchError("tokenIds", "amounts").message,
function (value) {
const v = value;
const v = value as any;
return v.tokenIds && v.amounts
? v.tokenIds.length === v.amounts.length
: true;
Expand Down Expand Up @@ -141,7 +141,7 @@ export const WithdrawErc1155Schema = object({
"isSameLength",
new SizeMismatchError("tokenIds", "amounts").message,
function (value) {
const v = value;
const v = value as any;
return v.tokenIds && v.amounts
? v.tokenIds.length === v.amounts.length
: true;
Expand Down

0 comments on commit d61b704

Please sign in to comment.