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