update changeset

Signed-off-by: Andrew Thauer <athauer@wealthsimple.com>
This commit is contained in:
Andrew Thauer
2022-11-20 15:14:05 -05:00
parent fb9991e9d2
commit 8f032ac450
4 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ export const Root = ({ children }: PropsWithChildren<{}>) => (
</Sidebar>
```
### Use earch result list item for Explore Tools
### Use search result list item for Explore Tools
When you have your `packages/app/src/components/search/SearchPage.tsx` file
ready to make modifications, add the following code snippet to add the
+3 -3
View File
@@ -23,7 +23,7 @@ import {
fetchApiRef,
} from '@backstage/core-plugin-api';
import { ExploreClient, exploreApiRef } from './api';
import { exampleTools } from './util/examples';
// import { exampleTools } from './util/examples';
/** @public */
export const explorePlugin = createPlugin({
@@ -54,9 +54,9 @@ export const explorePlugin = createPlugin({
// TODO: Determine if this should return undefined or exampleTools
// - `undefined` will enable the explore-backend to be used via the ExploreClient backwards compatibility
// which is likely the desired behavior for anyone that has not yet overriden this API
// return undefined as any;
return undefined as any;
// - `exampleTools` will disable the explore-backend fetching for users that have not yet overriden this API
return exampleTools;
// return exampleTools;
},
}),
}),