Update/fix `ChangeHandle` form (#1280)
* fix well-known did copy value * s/Domain/Host in change handle formzio/stable
parent
37a70f0a67
commit
953ae9c096
|
@ -316,9 +316,9 @@ function CustomHandleForm({
|
|||
// events
|
||||
// =
|
||||
const onPressCopy = React.useCallback(() => {
|
||||
Clipboard.setString(`did=${store.me.did}`)
|
||||
Clipboard.setString(isDNSForm ? `did=${store.me.did}` : store.me.did)
|
||||
Toast.show('Copied to clipboard')
|
||||
}, [store.me.did])
|
||||
}, [store.me.did, isDNSForm])
|
||||
const onChangeHandle = React.useCallback(
|
||||
(v: string) => {
|
||||
setHandle(v)
|
||||
|
@ -410,11 +410,11 @@ function CustomHandleForm({
|
|||
{isDNSForm ? (
|
||||
<>
|
||||
<Text type="md" style={[pal.text, s.pb5, s.pl5]}>
|
||||
Add the following record to your domain:
|
||||
Add the following DNS record to your domain:
|
||||
</Text>
|
||||
<View style={[styles.dnsTable, pal.btn]}>
|
||||
<Text type="md-medium" style={[styles.dnsLabel, pal.text]}>
|
||||
Domain:
|
||||
Host:
|
||||
</Text>
|
||||
<View style={[styles.dnsValue]}>
|
||||
<Text type="mono" style={[styles.monoText, pal.text]}>
|
||||
|
|
Loading…
Reference in New Issue