mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-24 10:07:18 +00:00
Fix user bio bug.
This commit is contained in:
parent
1a0f70450c
commit
ad44b7da9c
14
ui/src/components/user.tsx
vendored
14
ui/src/components/user.tsx
vendored
|
@ -384,12 +384,14 @@ export class User extends Component<any, UserState> {
|
|||
)}
|
||||
</ul>
|
||||
</h5>
|
||||
<div className="d-flex align-items-center mb-2">
|
||||
<div
|
||||
className="md-div"
|
||||
dangerouslySetInnerHTML={mdToHtml(user.bio)}
|
||||
/>
|
||||
</div>
|
||||
{user.bio && (
|
||||
<div className="d-flex align-items-center mb-2">
|
||||
<div
|
||||
className="md-div"
|
||||
dangerouslySetInnerHTML={mdToHtml(user.bio)}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
<div className="d-flex align-items-center mb-2">
|
||||
<svg class="icon">
|
||||
<use xlinkHref="#icon-cake"></use>
|
||||
|
|
Loading…
Reference in a new issue