don't show pubkey if autoupdate is enabled
This commit is contained in:
@ -233,6 +233,7 @@ export default function Nip5Service(props: Nip05ServiceProps) {
|
|||||||
<br />
|
<br />
|
||||||
<small>{availabilityResponse.quote?.data.type}</small>
|
<small>{availabilityResponse.quote?.data.type}</small>
|
||||||
</div>
|
</div>
|
||||||
|
{!autoUpdate && (
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
className="f-grow mr10"
|
className="f-grow mr10"
|
||||||
@ -240,6 +241,7 @@ export default function Nip5Service(props: Nip05ServiceProps) {
|
|||||||
value={hexToBech32("npub", pubkey)}
|
value={hexToBech32("npub", pubkey)}
|
||||||
disabled
|
disabled
|
||||||
/>
|
/>
|
||||||
|
)}
|
||||||
<AsyncButton onClick={() => startBuy(handle, domain)}>
|
<AsyncButton onClick={() => startBuy(handle, domain)}>
|
||||||
<FormattedMessage {...messages.BuyNow} />
|
<FormattedMessage {...messages.BuyNow} />
|
||||||
</AsyncButton>
|
</AsyncButton>
|
||||||
|
Reference in New Issue
Block a user