1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed node liking

This commit is contained in:
Fedor Katurov 2021-03-04 13:51:03 +07:00
parent d4c2e7ee09
commit b95d53791c
2 changed files with 6 additions and 3 deletions

View file

@ -5,6 +5,8 @@ import { connect } from 'react-redux';
import { selectAuthProfile } from '~/redux/auth/selectors';
import { ProfileLoader } from '~/containers/profile/ProfileLoader';
import { Group } from '~/components/containers/Group';
import markdown from '~/styles/common/markdown.module.scss';
import classNames from 'classnames';
const mapStateToProps = state => ({
profile: selectAuthProfile(state),
@ -19,7 +21,7 @@ const ProfileDescriptionUnconnected: FC<IProps> = ({ profile: { user, is_loading
<div className={styles.wrap}>
{!!user?.description && (
<Group
className={styles.content}
className={classNames(styles.content, markdown.wrapper)}
dangerouslySetInnerHTML={{ __html: formatText(user.description) }}
/>
)}