mirror of
https://github.com/filecoin-project/slate.git
synced 2024-09-17 17:27:52 +03:00
Update search modal
passing correct user data to the search modal
This commit is contained in:
parent
e2521d92c2
commit
3ecad0d26a
@ -86,7 +86,7 @@ const UserEntry = ({ user }) => {
|
||||
<div css={STYLES_ENTRY_CONTAINER}>
|
||||
<div css={STYLES_PROFILE_PREVIEW}>
|
||||
<ProfilePhoto
|
||||
user={this.props.viewer}
|
||||
user={user}
|
||||
size={48}
|
||||
/>
|
||||
</div>
|
||||
@ -121,8 +121,7 @@ const UserPreview = ({ user }) => {
|
||||
<div>
|
||||
<div css={STYLES_PROFILE_IMAGE}>
|
||||
<ProfilePhoto
|
||||
photo={user.data.photo}
|
||||
userId={user.id}
|
||||
user={user}
|
||||
size={182}
|
||||
/>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user