update minting page

This commit is contained in:
PhilReact 2025-01-13 19:11:02 +02:00
parent 83ebfff611
commit e3af586c88

View File

@ -593,7 +593,7 @@ export const Minting = ({
</Typography> </Typography>
</Card> </Card>
<Spacer height="10px" /> <Spacer height="10px" />
{accountInfo?.level >= 1 && !accountIsMinting && ( {isPartOfMintingGroup && !accountIsMinting && (
<Box <Box
sx={{ sx={{
display: "flex", display: "flex",
@ -671,17 +671,17 @@ export const Minting = ({
<Typography> <Typography>
Minting account: {handleNames(acct?.mintingAccount)} Minting account: {handleNames(acct?.mintingAccount)}
</Typography> </Typography>
<Typography> {/* <Typography>
Recipient account: {handleNames(acct?.recipientAccount)} Recipient account: {handleNames(acct?.recipientAccount)}
</Typography> </Typography> */}
{acct?.mintingAccount !== accountInfo?.address && {/* {acct?.mintingAccount !== accountInfo?.address &&
acct?.recipientAccount === accountInfo?.address && acct?.recipientAccount === accountInfo?.address &&
(accountInfo?.level || 0) > 0 && ( (accountInfo?.level || 0) > 0 && (
<Typography> <Typography>
You have reached level 1+. Remove this minting key and then You have reached level 1+. Remove this minting key and then
click "Start Minting". click "Start Minting".
</Typography> </Typography>
)} )} */}
<Button <Button
size="small" size="small"
sx={{ sx={{
@ -825,7 +825,7 @@ export const Minting = ({
</Box> </Box>
</Card> </Card>
)} )}
{isPartOfMintingGroup && ( {/* {isPartOfMintingGroup && (
<> <>
{accountInfo?.level >= 5 && ( {accountInfo?.level >= 5 && (
<Box <Box
@ -1124,8 +1124,8 @@ export const Minting = ({
</Box> </Box>
)} )}
</> </>
)} )} */}
{isShow && ( {/* {isShow && (
<Dialog <Dialog
open={isShow} open={isShow}
aria-labelledby="alert-dialog-title" aria-labelledby="alert-dialog-title"
@ -1160,7 +1160,7 @@ export const Minting = ({
</Button> </Button>
</DialogActions> </DialogActions>
</Dialog> </Dialog>
)} )} */}
</DialogContent> </DialogContent>
<DialogActions> <DialogActions>
<Button <Button