Merge pull request #19498 from langeno/langeno-plugin-docu-patch-1

Update integrating-plugin-into-software-catalog.md
This commit is contained in:
Johan Haals
2023-08-22 16:38:02 +02:00
committed by GitHub
@@ -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...
};