Skip to content

Commit

Permalink
fix: search params
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarsen136 committed Jul 25, 2024
1 parent a9e49ec commit 410aa21
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion components/search/SearchSuggestion.vue
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,6 @@ const updateCollectionSuggestion = async (value: string) => {
const collections = await fetchCollectionSuggestion(
value,
searchSuggestionEachTypeMaxNum,
urlPrefix.value,
)
const metadataList: string[] = collections.map(mapNFTorCollectionMetadata)
const collectionWithImagesList = ref<CollectionWithMeta[]>([])
Expand Down
3 changes: 1 addition & 2 deletions components/search/utils/collectionSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@ const api = $fetch.create({
},
credentials: 'omit',
})
export async function fetchCollectionSuggestion(key: string, limit?: number, chain?: string) {
export async function fetchCollectionSuggestion(key: string, limit?: number) {
const object = {
search: key,
table: 'collections',
limit,
chain,
}

try {
Expand Down

0 comments on commit 410aa21

Please sign in to comment.