Skip to content

Commit

Permalink
doc: correction for frontend plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
zeshanziya committed Sep 16, 2024
1 parent 1694b75 commit 82764b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/platformsh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ To get the Platform.sh component working, follow these steps:

```ts
// At the top imports
import { EntityPlatformshContents } from '@axelerant/backstage-plugin-platformsh;
import { EntityPlatformshContents } from '@axelerant/backstage-plugin-platformsh';
// Add the tab to any entity page, using the service entity page as an example
// Add the tab to any entity page, using the service entity page as an example.
const serviceEntityPage = (
<EntityLayout>
{/* other tabs... */}
Expand All @@ -82,7 +82,7 @@ To display the tab only for entities where `platform.sh/project-id: <project-id>

```ts
// At the top imports
import { EntityPlatformshContents, isPlatformshAvailable } from '@axelerant/backstage-plugin-platformsh;
import { EntityPlatformshContents, isPlatformshAvailable } from '@axelerant/backstage-plugin-platformsh';
// Add the tab conditionally based on annotation availability
const serviceEntityPage = (
Expand Down

0 comments on commit 82764b9

Please sign in to comment.