From 7690dea6c96de278a2886b696e62709756a68d81 Mon Sep 17 00:00:00 2001 From: Sarah Dayan Date: Tue, 13 Apr 2021 13:17:28 +0200 Subject: [PATCH] docs: clean up examples --- examples/query-suggestions/app.tsx | 1 - examples/react-renderer/src/Autocomplete.tsx | 7 +------ .../recently-viewed-items/recentlyViewedItemsPlugin.tsx | 7 +------ packages/website/docs/including-multiple-result-types.mdx | 2 -- packages/website/src/components/AutocompleteStaticItem.tsx | 2 -- packages/website/src/components/linksPlugin.tsx | 2 -- 6 files changed, 2 insertions(+), 19 deletions(-) diff --git a/examples/query-suggestions/app.tsx b/examples/query-suggestions/app.tsx index b46b9652f..ca1799ff1 100644 --- a/examples/query-suggestions/app.tsx +++ b/examples/query-suggestions/app.tsx @@ -22,6 +22,5 @@ autocomplete({ container: '#autocomplete', placeholder: 'Search', openOnFocus: true, - debug: true, plugins: [querySuggestionsPlugin], }); diff --git a/examples/react-renderer/src/Autocomplete.tsx b/examples/react-renderer/src/Autocomplete.tsx index a716a5ff7..1965f9b98 100644 --- a/examples/react-renderer/src/Autocomplete.tsx +++ b/examples/react-renderer/src/Autocomplete.tsx @@ -191,12 +191,7 @@ export function Autocomplete( type="button" title="Select" > - + diff --git a/examples/recently-viewed-items/recentlyViewedItemsPlugin.tsx b/examples/recently-viewed-items/recentlyViewedItemsPlugin.tsx index 141e8198e..b0f5988c4 100644 --- a/examples/recently-viewed-items/recentlyViewedItemsPlugin.tsx +++ b/examples/recently-viewed-items/recentlyViewedItemsPlugin.tsx @@ -82,12 +82,7 @@ export function createLocalStorageRecentlyViewedItems< ) : (
- +
diff --git a/packages/website/docs/including-multiple-result-types.mdx b/packages/website/docs/including-multiple-result-types.mdx index 44e63112b..a14016a93 100644 --- a/packages/website/docs/including-multiple-result-types.mdx +++ b/packages/website/docs/including-multiple-result-types.mdx @@ -257,8 +257,6 @@ export const predefinedItemsPlugin = {