run prettier formatting
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -24,9 +24,8 @@ type Props = {
|
||||
};
|
||||
|
||||
export const RollbarProject = ({ entity }: Props) => {
|
||||
const { items, organization, project, loading, error } = useTopActiveItems(
|
||||
entity,
|
||||
);
|
||||
const { items, organization, project, loading, error } =
|
||||
useTopActiveItems(entity);
|
||||
|
||||
return (
|
||||
<RollbarTopItemsTable
|
||||
|
||||
@@ -25,7 +25,11 @@ export function useCatalogEntity() {
|
||||
const catalogApi = useApi(catalogApiRef);
|
||||
const { namespace, name } = useEntityCompoundName();
|
||||
|
||||
const { value: entity, error, loading } = useAsync(
|
||||
const {
|
||||
value: entity,
|
||||
error,
|
||||
loading,
|
||||
} = useAsync(
|
||||
() => catalogApi.getEntityByName({ kind: 'Component', namespace, name }),
|
||||
[catalogApi, namespace, name],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user