mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
random titles
This commit is contained in:
parent
7583a57b04
commit
9233ccbada
10 changed files with 63 additions and 11 deletions
|
@ -5,6 +5,7 @@ import styles from './styles.scss';
|
|||
import { connect } from 'react-redux';
|
||||
import { selectAuthProfile } from '~/redux/auth/selectors';
|
||||
import { ProfileLoader } from '~/containers/profile/ProfileLoader';
|
||||
import { Group } from '~/components/containers/Group';
|
||||
|
||||
const mapStateToProps = state => ({
|
||||
profile: selectAuthProfile(state),
|
||||
|
@ -18,7 +19,7 @@ const ProfileDescriptionUnconnected: FC<IProps> = ({ profile: { user, is_loading
|
|||
return (
|
||||
<div className={styles.wrap}>
|
||||
{user.description && (
|
||||
<div
|
||||
<Group
|
||||
className={styles.content}
|
||||
dangerouslySetInnerHTML={{ __html: formatText(user.description) }}
|
||||
/>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
min-height: 200px;
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.placeholder {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue