Update HcUser to UserTeaser

This commit is contained in:
mattwr18 2020-01-13 20:11:51 +01:00
parent fdf00fc0c6
commit 2cc350936f

View File

@ -27,7 +27,7 @@
v-if="option.__typename === 'User'"
:class="{ 'option-with-heading': isFirstOfType(option) }"
>
<hc-user :user="option" :showPopover="false" />
<user-teaser :user="option" :showPopover="false" />
</p>
<p
v-if="option.__typename === 'Post'"
@ -45,14 +45,14 @@
import { isEmpty } from 'lodash'
import SearchHeading from '~/components/generic/SearchHeading/SearchHeading.vue'
import SearchPost from '~/components/generic/SearchPost/SearchPost.vue'
import HcUser from '~/components/User/User.vue'
import UserTeaser from '~/components/UserTeaser/UserTeaser.vue'
export default {
name: 'SearchableInput',
components: {
SearchHeading,
SearchPost,
HcUser,
UserTeaser,
},
props: {
id: { type: String },