EditProfile: use instance.domain in nip05 placeholder

This commit is contained in:
Alex Gleason 2024-03-25 11:19:23 -05:00
parent 4e7a3e018c
commit 47492bac9a
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -325,7 +325,7 @@ const EditProfile: React.FC = () => {
type='text'
value={data.nip05}
onChange={handleTextChange('nip05')}
placeholder={intl.formatMessage(messages.nip05Placeholder, { domain: location.host })}
placeholder={intl.formatMessage(messages.nip05Placeholder, { domain: instance.domain })}
/>
</FormGroup>
)}