fix: edit user information cancel profile to html

This commit is contained in:
shuai 2023-01-16 16:48:04 +08:00
parent 020262f662
commit d9ec8b15f1
1 changed files with 0 additions and 2 deletions

View File

@ -2,7 +2,6 @@ import React, { FormEvent, useState, useEffect } from 'react';
import { Form, Button, Stack, ButtonGroup } from 'react-bootstrap';
import { Trans, useTranslation } from 'react-i18next';
import { marked } from 'marked';
import MD5 from 'md5';
import type { FormDataType } from '@/common/interface';
@ -205,7 +204,6 @@ const Index: React.FC = () => {
bio: formData.bio.value,
website: formData.website.value,
location: formData.location.value,
bio_html: marked.parse(formData.bio.value),
};
modifyUserInfo(params)