Skip to content

Commit

Permalink
Wrap the RecentSearches in ClientOnly (#2188)
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat authored May 25, 2023
1 parent 65be689 commit f0d0441
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions frontend/src/components/VHeader/VHeaderMobile/VHeaderMobile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,17 @@
</slot>
</form>
</div>

<VRecentSearches
v-show="showRecentSearches"
:selected-idx="selectedIdx"
:entries="entries"
:bordered="false"
class="mt-4"
@select="handleSelect"
@clear="handleClear"
/>
<ClientOnly>
<VRecentSearches
v-show="showRecentSearches"
:selected-idx="selectedIdx"
:entries="entries"
:bordered="false"
class="mt-4"
@select="handleSelect"
@clear="handleClear"
/>
</ClientOnly>
</VInputModal>
</header>
</template>
Expand Down

0 comments on commit f0d0441

Please sign in to comment.