From ef0ac3798d376b797b92f4192039ac94411ba5a7 Mon Sep 17 00:00:00 2001 From: Bojan Mojsilovic Date: Mon, 4 Sep 2023 15:17:40 +0200 Subject: [PATCH] Remove URL previews from profile about --- src/pages/Profile.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Profile.tsx b/src/pages/Profile.tsx index 56563bca..41a44262 100644 --- a/src/pages/Profile.tsx +++ b/src/pages/Profile.tsx @@ -402,8 +402,8 @@ const Profile: Component = () => { const [renderProfileAbout, setRenderProfileAbout] = createSignal(''); - const getProfileAbout = async (about: string) => { - const a = await replaceLinkPreviews(urlify(sanitize(about), () => '', false, false)) + const getProfileAbout = (about: string) => { + const a = urlify(sanitize(about), () => '', false, false, true); setRenderProfileAbout(a) };