Fix user bio bug.

This commit is contained in:
Dessalines 2020-08-01 20:03:29 -04:00
parent 1a0f70450c
commit ad44b7da9c

View file

@ -384,12 +384,14 @@ export class User extends Component<any, UserState> {
)} )}
</ul> </ul>
</h5> </h5>
<div className="d-flex align-items-center mb-2"> {user.bio && (
<div <div className="d-flex align-items-center mb-2">
className="md-div" <div
dangerouslySetInnerHTML={mdToHtml(user.bio)} className="md-div"
/> dangerouslySetInnerHTML={mdToHtml(user.bio)}
</div> />
</div>
)}
<div className="d-flex align-items-center mb-2"> <div className="d-flex align-items-center mb-2">
<svg class="icon"> <svg class="icon">
<use xlinkHref="#icon-cake"></use> <use xlinkHref="#icon-cake"></use>