just some 🧹 api cleaning
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -9,9 +9,7 @@ import { BackstagePlugin } from '@backstage/core-plugin-api';
|
||||
import { RouteRef } from '@backstage/core-plugin-api';
|
||||
|
||||
// @public
|
||||
export const ApacheAirflowDagTable: ({
|
||||
dagIds,
|
||||
}: {
|
||||
export const ApacheAirflowDagTable: (props: {
|
||||
dagIds?: string[] | undefined;
|
||||
}) => JSX.Element;
|
||||
|
||||
|
||||
@@ -134,7 +134,8 @@ type DagTableComponentProps = {
|
||||
dagIds?: string[];
|
||||
};
|
||||
|
||||
export const DagTableComponent = ({ dagIds }: DagTableComponentProps) => {
|
||||
export const DagTableComponent = (props: DagTableComponentProps) => {
|
||||
const { dagIds } = props;
|
||||
const apiClient = useApi(apacheAirflowApiRef);
|
||||
|
||||
const { value, loading, error } = useAsync(async (): Promise<Dag[]> => {
|
||||
|
||||
Reference in New Issue
Block a user