Skip to content

Commit

Permalink
fix: import of fontawesome icon
Browse files Browse the repository at this point in the history
  • Loading branch information
andre8244 committed Aug 9, 2024
1 parent c63d814 commit a1c30dc
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/components/NeDropdownFilter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import { ref, watch, computed, onMounted } from 'vue'
import { faChevronDown } from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import { library } from '@fortawesome/fontawesome-svg-core'
import { Menu, MenuButton, MenuItem, MenuItems } from '@headlessui/vue'
import { isEqual } from 'lodash-es'
import { v4 as uuidv4 } from 'uuid'
Expand Down Expand Up @@ -55,8 +54,6 @@ const props = withDefaults(defineProps<Props>(), {
id: ''
})

library.add(faChevronDown)

const model = defineModel<string[]>()
const radioModel = ref('')
const checkboxModel = ref<string[]>([])
Expand Down Expand Up @@ -148,11 +145,7 @@ function calculatePosition() {
size="xs"
class="ml-2"
/>
<FontAwesomeIcon
:icon="['fas', 'chevron-down']"
class="ml-2 h-3 w-3"
aria-hidden="true"
/>
<FontAwesomeIcon :icon="faChevronDown" class="ml-2 h-3 w-3" aria-hidden="true" />
</div>
</button>
</slot>
Expand Down

0 comments on commit a1c30dc

Please sign in to comment.