Skip to content

Commit 23ecbd2

Browse files
committed
commented out claimable for now to unblock
1 parent 2b37d7a commit 23ecbd2

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,7 @@ function ClaimConditionSection(props: {
531531
</FormItem>
532532
)}
533533
/>
534+
534535
<FormField
535536
control={form.control}
536537
name="currencyAddress"

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { subDays } from "date-fns";
66
import { useState } from "react";
77
import { Toaster, toast } from "sonner";
88
import { mobileViewport } from "stories/utils";
9-
import { NATIVE_TOKEN_ADDRESS } from "thirdweb";
9+
import { NATIVE_TOKEN_ADDRESS, ZERO_ADDRESS } from "thirdweb";
1010
import { ThirdwebProvider } from "thirdweb/react";
1111
import { checksumAddress } from "thirdweb/utils";
1212
import {
@@ -53,8 +53,7 @@ const claimCondition = {
5353
// last week
5454
startTimestamp: subDays(new Date(), 7).getTime() / 1000,
5555
endTimestamp: new Date().getTime() / 1000,
56-
allowlistMerkleRoot:
57-
"0x0000000000000000000000000000000000000000000000000000000000000000" as `0x${string}`,
56+
allowlistMerkleRoot: ZERO_ADDRESS,
5857
auxData: "0x",
5958
} as ClaimConditionValue;
6059

@@ -83,6 +82,7 @@ function Component() {
8382
}
8483

8584
async function getClaimConditionErc1155Stub() {
85+
console.log("claim condition in stub: ", claimCondition);
8686
return claimCondition;
8787
}
8888

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function ModuleInstance(props: ModuleInstanceProps) {
3939
return <RoyaltyModule {...props} />;
4040
}
4141

42-
if (props.contractInfo.name.includes("Claimable")) {
42+
if (props.contractInfo.name.includes("Claimable-ignore")) {
4343
return <ClaimableModule {...props} />;
4444
}
4545

0 commit comments

Comments
 (0)