Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Dec 17, 2024
1 parent 78adc03 commit fd2cb0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/hooks/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ export function useSearch(collection: Ref<CollectionMeta | null>) {

return (category.value && variant.value)
? arrayIntersection(
collection.value.categories?.[category.value] || [],
collection.value.variants?.[variant.value] || [],
)
collection.value.categories?.[category.value] || [],
collection.value.variants?.[variant.value] || [],
)
: category.value
? (collection.value.categories?.[category.value] || [])
: variant.value
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import routes from '~pages'
import { disableCache } from 'iconify-icon'
import { createApp } from 'vue'
import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router'
import routes from '~pages'
import App from './App.vue'
import { basePath, isElectron } from './env'

Expand Down

0 comments on commit fd2cb0e

Please sign in to comment.