Update README.md
Example code in the customization section was not valid. Updated to fix Signed-off-by: Evan Fenner <105249079+efenner-cambia@users.noreply.github.com>
This commit is contained in:
@@ -104,11 +104,11 @@ Create a custom explore page in
|
||||
|
||||
```tsx
|
||||
import {
|
||||
DomainExplorerContent,
|
||||
CatalogKindExplorerContent,
|
||||
ExploreLayout,
|
||||
} from '@backstage/plugin-explore';
|
||||
import React from 'react';
|
||||
import { InnserSourceExplorerContent } from './InnserSourceExplorerContent';
|
||||
import { AcmeInnserSourceExploreContent } from './InnserSourceExplorerContent';
|
||||
|
||||
export const ExplorePage = () => {
|
||||
return (
|
||||
@@ -123,7 +123,7 @@ export const ExplorePage = () => {
|
||||
<CatalogKindExploreContent kind="system" />
|
||||
</ExploreLayout.Route>
|
||||
<ExploreLayout.Route path="inner-source" title="InnerSource">
|
||||
<AcmeInnserSourceExplorerContent />
|
||||
<AcmeInnserSourceExploreContent />
|
||||
</ExploreLayout.Route>
|
||||
</ExploreLayout>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user