Update search modal

passing correct user data to the search modal
This commit is contained in:
jasonleyser 2021-07-19 13:44:45 -06:00
parent e2521d92c2
commit 3ecad0d26a

View File

@ -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>