From 953ae9c096a5f32ed0569bb050a172b4a734606c Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Fri, 25 Aug 2023 10:47:12 -0500 Subject: Update/fix `ChangeHandle` form (#1280) * fix well-known did copy value * s/Domain/Host in change handle form --- src/view/com/modals/ChangeHandle.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/view/com/modals/ChangeHandle.tsx b/src/view/com/modals/ChangeHandle.tsx index 09d41825f..a1226680e 100644 --- a/src/view/com/modals/ChangeHandle.tsx +++ b/src/view/com/modals/ChangeHandle.tsx @@ -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 ? ( <> - Add the following record to your domain: + Add the following DNS record to your domain: - Domain: + Host: -- cgit 1.4.1