From 6166c2c4c5e9c05214c59ac1f7b0b5288c250935 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 2 May 2022 10:03:42 -0500 Subject: [PATCH] EditProfile: fix

--- app/soapbox/features/edit_profile/index.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/soapbox/features/edit_profile/index.tsx b/app/soapbox/features/edit_profile/index.tsx index 27539d627..ee6b4f47f 100644 --- a/app/soapbox/features/edit_profile/index.tsx +++ b/app/soapbox/features/edit_profile/index.tsx @@ -1,4 +1,3 @@ -import { unescape } from 'lodash'; import React, { useState, useEffect, useMemo } from 'react'; import { defineMessages, useIntl, FormattedMessage } from 'react-intl'; @@ -119,8 +118,8 @@ const accountToCredentials = (account: Account): AccountCredentials => { return { discoverable: account.discoverable, bot: account.bot, - display_name: unescape(account.display_name), - note: account.source.get('note') || unescape(account.note), + display_name: account.display_name, + note: account.source.get('note'), locked: account.locked, fields_attributes: [...account.source.get>('fields', [])], stranger_notifications: account.getIn(['pleroma', 'notification_settings', 'block_from_strangers']) === true,