Skip to content

Commit

Permalink
Fix eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
am9zZWY committed Jul 10, 2024
1 parent a4e939f commit 4dbdcb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions client/src/router/index.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { createRouter, createWebHashHistory } from 'vue-router'
import Search from '../views/Search.vue'
import SearchView from '../views/SearchView.vue'

const router = createRouter({
history: createWebHashHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
name: 'search',
component: Search
component: SearchView
}
]
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ const { results } = storeToRefs(searchStore)
const loading = false
const query = ref('')
const suggestionResults = ref<string[]>([
'Apple',
'Banana',
'Cherry'
])
const search = () => {
searchStore.search(query.value)
}
Expand Down

0 comments on commit 4dbdcb0

Please sign in to comment.