just some 🧹 api cleaning

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-08-18 13:30:02 +02:00
parent e195112c5c
commit c8bb0ff8ce
18 changed files with 118 additions and 158 deletions
@@ -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[]> => {