Skip to content

Commit

Permalink
chore: rm unnecessary div
Browse files Browse the repository at this point in the history
  • Loading branch information
annacv committed Oct 26, 2023
1 parent a2e2555 commit e401ad2
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions src/components/my-history/my-history-filters.vue
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
<template v-if="suggestion.selectedFilters.length > 0">
<div>
<p class="x-text1-sm x-text-lead-50 x-line-clamp-1">
<span
v-for="filter in suggestion.selectedFilters"
:key="filter.id"
class="x-history-filters x-pr-8"
>
{{ filter.label ?? filter.id }}
</span>
</p>
</div>
<p class="x-text1-sm x-text-lead-50 x-line-clamp-1">
<span
v-for="filter in suggestion.selectedFilters"
:key="filter.id"
class="x-history-filters x-pr-8"
>
{{ filter.label ?? filter.id }}
</span>
</p>
</template>

<script lang="ts">
Expand Down

0 comments on commit e401ad2

Please sign in to comment.