Fix user bio bug.
This commit is contained in:
parent
1a0f70450c
commit
ad44b7da9c
1 changed files with 8 additions and 6 deletions
2
ui/src/components/user.tsx
vendored
2
ui/src/components/user.tsx
vendored
|
@ -384,12 +384,14 @@ export class User extends Component<any, UserState> {
|
||||||
)}
|
)}
|
||||||
</ul>
|
</ul>
|
||||||
</h5>
|
</h5>
|
||||||
|
{user.bio && (
|
||||||
<div className="d-flex align-items-center mb-2">
|
<div className="d-flex align-items-center mb-2">
|
||||||
<div
|
<div
|
||||||
className="md-div"
|
className="md-div"
|
||||||
dangerouslySetInnerHTML={mdToHtml(user.bio)}
|
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>
|
||||||
|
|
Loading…
Reference in a new issue