Skip to content

Commit

Permalink
Fix some lint/ts errors left in 'example/'
Browse files Browse the repository at this point in the history
  • Loading branch information
mkody committed Jan 8, 2024
1 parent e2ba924 commit 3aeb45e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion example/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@
"env": {
"browser": true,
"es2021": true
}
},
"ignorePatterns": [
"dist/"
]
}
2 changes: 1 addition & 1 deletion example/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="container">
<div class="search-bar">
<input
v-model="keyword"
v-model="keyword"
type="text"
class="search-input"
:placeholder="`Search ${numberOfIcons} icons...`"
Expand Down
1 change: 1 addition & 0 deletions example/src/components/IconElement.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const props = defineProps({
required: true
}
})
// @ts-expect-error - Types don't expect that the import of all icons are an array with a string key
const iconComponent = computed(() => icons[props.icon.componentName])
function copyToClipboard () {
navigator.clipboard.writeText(props.icon.componentName)
Expand Down

0 comments on commit 3aeb45e

Please sign in to comment.