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

periodical fetching updates

This commit is contained in:
Fedor Katurov 2019-11-12 17:59:40 +07:00
parent 32a2a0567e
commit 6c1f8967e8
8 changed files with 52 additions and 3 deletions

View file

@ -35,6 +35,7 @@ const CommentWrapper: FC<IProps> = ({
<div
className={styles.thumb_image}
style={{ backgroundImage: `url("${getURL(path(['photo'], user), PRESETS.avatar)}")` }}
onClick={() => window.postMessage({ type: 'username', username: user.username }, '*')}
/>
<div className={styles.thumb_user}>~{path(['username'], user)}</div>
</div>