Merge pull request #19498 from langeno/langeno-plugin-docu-patch-1
Update integrating-plugin-into-software-catalog.md
This commit is contained in:
@@ -37,7 +37,7 @@ You can access the currently selected entity using the backstage api
|
||||
import { useEntity } from '@backstage/plugin-catalog-react';
|
||||
|
||||
export const MyPluginEntityContent = () => {
|
||||
const { entity, loading, error, refresh } = useEntity();
|
||||
const entity = useEntity();
|
||||
|
||||
// Do something with the entity data...
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user