Skip to content

Commit

Permalink
Remove URL previews from profile about
Browse files Browse the repository at this point in the history
  • Loading branch information
moysa committed Sep 4, 2023
1 parent 5cb6793 commit ef0ac37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
};
Expand Down

0 comments on commit ef0ac37

Please sign in to comment.