update changeset
Signed-off-by: Andrew Thauer <athauer@wealthsimple.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
},
|
||||
}),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user