diff --git a/src/store/listStore.ts b/src/store/listStore.ts index 29f1d4c..ef62239 100644 --- a/src/store/listStore.ts +++ b/src/store/listStore.ts @@ -335,7 +335,7 @@ export const useListStore = create()((set, get) => ({ searchSuggestion: async (val: string) => { try { const state = get(); - const resData = (await searchSuggestion({ val, limit: 10 })) || {}; + const resData = (await searchSuggestion({ keyword: val, limit: 10 })) || {}; const recommendations = resData?.data?.recommendations || []; const total = resData?.data?.total; set({