Skip to content

Commit c0455f0

Browse files
committed
fix up lint and typecheck issues
1 parent adb228f commit c0455f0

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components/Mintable.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ function MintableModule(props: ModuleInstanceProps) {
9494
contract,
9595
to: values.recipient,
9696
amount: BigInt(values.amount),
97-
tokenId: values.useNextTokenId ? undefined : BigInt(values.tokenId),
97+
tokenId: values.useNextTokenId
98+
? undefined
99+
: // NOTE: this string should never be reached since if useNextTokenId is false, then tokenId should be defined
100+
BigInt(values.tokenId || "0"),
98101
nft,
99102
});
100103
} else {

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components/claimable.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ function Component() {
7272
maxMintPerWallet: BigInt(10),
7373
pricePerUnit: BigInt(10),
7474
currency: "0x0000000000000000000000000000000000000000",
75-
//startTimestamp: 1689092800,
76-
//endTimestamp: 1689092800,
75+
startTimestamp: 1689092800,
76+
endTimestamp: 1689092800,
7777
allowlistMerkleRoot:
7878
"0x0000000000000000000000000000000000000000000000000000000000000000" as `0x${string}`,
7979
auxData: "0x",

0 commit comments

Comments
 (0)