Skip to content

Commit

Permalink
refactor: refactor adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
andreadlgdo committed Jun 3, 2024
1 parent 766b1d6 commit 79c7168
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions packages/_vue3-migration-test/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ if (VUE_COMPAT_MODE === 2) {
const adapter = {
querySuggestions: request => {
return new Promise(resolve => {
const suggestions = getQuerySuggestionsStub(request.query, 5);
resolve({ suggestions });
resolve({ suggestions: getQuerySuggestionsStub(request.query, 5) });
});
}
} as XComponentsAdapter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@
import QuerySuggestions from '../../../../../x-components/src/x-modules/query-suggestions/components/query-suggestions.vue';
import SearchInput from '../../../../../x-components/src/x-modules/search-box/components/search-input.vue';
</script>

<style scoped></style>

0 comments on commit 79c7168

Please sign in to comment.