Skip to content

Commit d1734fb

Browse files
committed
update
1 parent 884d513 commit d1734fb

File tree

3 files changed

+226
-242
lines changed

3 files changed

+226
-242
lines changed

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/_components/claim-conditions/claim-conditions-form/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,8 +509,9 @@ export const ClaimConditionsForm: React.FC<ClaimConditionsFormProps> = ({
509509
<Fragment key={`snapshot_${field.id}_${index}`}>
510510
<SnapshotUpload
511511
dropType={dropType}
512-
isOpen={openSnapshotIndex === index}
513-
onClose={() => setOpenSnapshotIndex(-1)}
512+
snapshotIndex={openSnapshotIndex}
513+
index={index}
514+
setOpenSnapshotIndex={setOpenSnapshotIndex}
514515
value={snapshotValue}
515516
setSnapshot={(snapshot) =>
516517
form.setValue(`phases.${index}.snapshot`, snapshot)

0 commit comments

Comments
 (0)