fix: ui search items

This commit is contained in:
Anthony Fu 2023-01-05 23:50:14 +01:00
parent 954a6bd5a1
commit 916793f5ae
6 changed files with 45 additions and 10 deletions

View file

@ -1,7 +1,6 @@
<script setup lang="ts">
import type { Tag } from 'masto'
import CommonScrollIntoView from '../common/CommonScrollIntoView.vue'
import HashtagInfo from '../search/HashtagInfo.vue'
const { items, command } = defineProps<{
items: Tag[]
@ -60,7 +59,7 @@ defineExpose({
block m0 w-full text-left px2 py1
@click="selectItem(index)"
>
<HashtagInfo :hashtag="item" />
<SearchHashtagInfo :hashtag="item" />
</CommonScrollIntoView>
</template>
</div>