Skip to content

Commit 407880a

Browse files
committed
fixed typecheck and lint issues
1 parent cf98aa5 commit 407880a

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ const claimCondition = {
6161
function Component() {
6262
const [isOwner, setIsOwner] = useState(true);
6363
const [isErc721, setIsErc721] = useState(false);
64+
const [isErc20, setIsErc20] = useState(false);
6465
const [isClaimConditionLoading, setIsClaimConditionLoading] = useState(false);
6566
const [isPrimarySaleRecipientLoading, setIsPrimarySaleRecipientLoading] =
6667
useState(false);
@@ -125,6 +126,13 @@ function Component() {
125126
label="isErc721"
126127
/>
127128

129+
<CheckboxWithLabel
130+
value={isErc20}
131+
onChange={setIsErc20}
132+
id="isErc20"
133+
label="isErc20"
134+
/>
135+
128136
<CheckboxWithLabel
129137
value={isClaimConditionLoading}
130138
onChange={setIsClaimConditionLoading}
@@ -179,6 +187,7 @@ function Component() {
179187
}}
180188
isOwnerAccount={isOwner}
181189
isErc721={isErc721}
190+
isErc20={isErc20}
182191
contractChainId={1}
183192
setTokenId={setTokenId}
184193
isValidTokenId={true}

apps/dashboard/src/components/contract-components/contract-deploy-form/modular-contract-default-modules-fieldset.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,6 @@ export function showPrimarySaleFiedset(paramNames: string[]) {
226226
return paramNames.length === 1 && paramNames.includes("primarySaleRecipient");
227227
}
228228

229-
export function showSequentialTokenIdFieldset(paramNames: string[]) {
229+
function showSequentialTokenIdFieldset(paramNames: string[]) {
230230
return paramNames.length === 1 && paramNames.includes("startTokenId");
231231
}

0 commit comments

Comments
 (0)