From 5f00ef8ab6a0b14871ba70479d6e6541f9ef0e52 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Thu, 15 Jul 2021 01:32:21 +0300 Subject: [PATCH] Profile: Style chat link as text (#1274) --- src/components/right/ChatExtra.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/right/ChatExtra.tsx b/src/components/right/ChatExtra.tsx index 44c2389df..7cfe440b6 100644 --- a/src/components/right/ChatExtra.tsx +++ b/src/components/right/ChatExtra.tsx @@ -18,7 +18,6 @@ import { copyTextToClipboard } from '../../util/clipboard'; import { formatPhoneNumberWithCode } from '../../util/phoneNumber'; import useLang from '../../hooks/useLang'; -import SafeLink from '../common/SafeLink'; import ListItem from '../ui/ListItem'; import Switcher from '../ui/Switcher'; @@ -115,9 +114,7 @@ const ChatExtra: FC = ({ )} {(canInviteUsers || !username) && !!link.length && ( copy(link, lang('SetUrlPlaceholder'))}> -
- -
+
{link}
{lang('SetUrlPlaceholder')}
)}