chore: code review comments

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-03-02 10:38:10 +01:00
parent 141af65385
commit fd061e47ee
2 changed files with 1 additions and 7 deletions
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-allure': patch
'@backstage/plugin-todo': patch
---
Fixing broken tests for the packages with the new `useEntity` change
@@ -178,7 +178,7 @@ export function useEntity<TEntity extends Entity = Entity>(): {
*/
export function useAsyncEntity<
TEntity extends Entity = Entity,
>(): EntityLoadingStatus {
>(): EntityLoadingStatus<TEntity> {
const versionedHolder =
useVersionedContext<{ 1: EntityLoadingStatus }>('entity-context');