Skip to content

Conversation

@KeitoTadashi
Copy link
Contributor

fixes #819

Copy link
Contributor

@Juligs Juligs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😸

priceSupportingText={isAvailable ? 'Price' : undefined}
statusMessage={isAvailable ? undefined : 'Name cannot be purchased.'}
>
{isUnavailable ? null : isConnected ? (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If isAvailable it won't ever be isUnavailable

Comment on lines 387 to 390
isAvailable={isAvailable}
price={formattedPurchasePrice}
priceSupportingText={isAvailable ? 'Price' : undefined}
statusMessage={isAvailable ? undefined : 'Name cannot be purchased.'}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right?

Suggested change
isAvailable={isAvailable}
price={formattedPurchasePrice}
priceSupportingText={isAvailable ? 'Price' : undefined}
statusMessage={isAvailable ? undefined : 'Name cannot be purchased.'}
isAvailable={true}
price={formattedPurchasePrice}
priceSupportingText="Price"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right!

@github-actions
Copy link

This pull request has been deployed to Vercel.

Latest commit: 3d82f28
✅ Preview: https://iota-names-mpcz6jc33-iota1.vercel.app
🔍 Inspect: https://vercel.com/iota/iota-names/G9KQJfd3F4r1aeSUyXTBro3p5Dcx

View Workflow Logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hide “Buy Now” option for names in auction

6 participants