Skip to content

Commit

Permalink
fix: hydration issue by removing v-shownuxt/icon#101
Browse files Browse the repository at this point in the history
  • Loading branch information
amandesai01 committed Aug 14, 2024
1 parent 5fd8f4a commit 74aab3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Dropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if (props.closeOnEsc) {
leave-from-class="opacity-100"
leave-to-class="opacity-0"
>
<div v-show="isDropdownOpen" class="origin-top-right z-10 absolute top-full left-0 right-auto min-w-56 bg-white border border-slate-200 pt-1.5 rounded-xl shadow-sm overflow-hidden mt-1" :class="align === 'right' ? 'md:left-auto md:right-0' : 'md:left-0 md:right-auto'">
<div v-if="isDropdownOpen" class="origin-top-right z-10 absolute top-full left-0 right-auto min-w-56 bg-white border border-slate-200 pt-1.5 rounded-xl shadow-sm overflow-hidden mt-1" :class="align === 'right' ? 'md:left-auto md:right-0' : 'md:left-0 md:right-auto'">
<div ref="dropdownRef">
<div class="flex w-full justify-between text-slate-400 pb-2 px-3 items-center">
<div class="text-xs uppercase">{{ title }}</div>
Expand Down

0 comments on commit 74aab3f

Please sign in to comment.