hide Create copies of a Master Edition NFT block on instant sale creation

This commit is contained in:
Maxim Gordienko 2021-09-09 15:16:50 +03:00
parent 4e5bd1611e
commit cb507827df
1 changed files with 31 additions and 31 deletions

View File

@ -770,37 +770,37 @@ const InstantSaleStep = (props: {
Select NFT
</ArtSelector>
<label className="action-field">
<Checkbox
defaultChecked={false}
checked={copiesChecked}
disabled={!copiesEnabled}
onChange={e => setCopiesChecked(e.target.checked)}
>
<span className="field-title">
Create copies of a Master Edition NFT?
</span>
</Checkbox>
{copiesChecked && copiesEnabled && (
<>
<span className="field-info">
Each copy will be given unique edition number e.g. 1 of 30
</span>
<Input
autoFocus
className="input"
placeholder="Enter number of copies sold"
allowClear
onChange={info =>
props.setAttributes({
...props.attributes,
editions: parseInt(info.target.value),
})
}
/>
</>
)}
</label>
{/*<label className="action-field">*/}
{/* <Checkbox*/}
{/* defaultChecked={false}*/}
{/* checked={copiesChecked}*/}
{/* disabled={!copiesEnabled}*/}
{/* onChange={e => setCopiesChecked(e.target.checked)}*/}
{/* >*/}
{/* <span className="field-title">*/}
{/* Create copies of a Master Edition NFT?*/}
{/* </span>*/}
{/* </Checkbox>*/}
{/* {copiesChecked && copiesEnabled && (*/}
{/* <>*/}
{/* <span className="field-info">*/}
{/* Each copy will be given unique edition number e.g. 1 of 30*/}
{/* </span>*/}
{/* <Input*/}
{/* autoFocus*/}
{/* className="input"*/}
{/* placeholder="Enter number of copies sold"*/}
{/* allowClear*/}
{/* onChange={info =>*/}
{/* props.setAttributes({*/}
{/* ...props.attributes,*/}
{/* editions: parseInt(info.target.value),*/}
{/* })*/}
{/* }*/}
{/* />*/}
{/* </>*/}
{/* )}*/}
{/*</label>*/}
<label className="action-field">
<span className="field-title">Price</span>