chore: change usage of the component

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2023-10-26 18:37:05 +02:00
parent 6c357184e2
commit 1c8b7a4b17
32 changed files with 124 additions and 81 deletions
+4 -2
View File
@@ -15,8 +15,10 @@
*/
import React from 'react';
import { useEntity } from '@backstage/plugin-catalog-react';
import { MissingAnnotationEmptyState } from '@backstage/core-components';
import {
useEntity,
MissingAnnotationEmptyState,
} from '@backstage/plugin-catalog-react';
import { Route, Routes } from 'react-router-dom';
import { EntityNomadAllocationListTable } from './components/EntityNomadAllocationListTable/EntityNomadAllocationListTable';
import {
@@ -17,7 +17,6 @@
import { DateTime } from 'luxon';
import {
Link,
MissingAnnotationEmptyState,
ResponseErrorPanel,
StatusError,
StatusOK,
@@ -26,7 +25,10 @@ import {
Table,
TableColumn,
} from '@backstage/core-components';
import { useEntity } from '@backstage/plugin-catalog-react';
import {
useEntity,
MissingAnnotationEmptyState,
} from '@backstage/plugin-catalog-react';
import React, { useState } from 'react';
import { Allocation, nomadApiRef } from '../../api';
import { configApiRef, useApi } from '@backstage/core-plugin-api';
@@ -17,12 +17,14 @@
import { DateTime } from 'luxon';
import {
InfoCard,
MissingAnnotationEmptyState,
ResponseErrorPanel,
Table,
TableColumn,
} from '@backstage/core-components';
import { useEntity } from '@backstage/plugin-catalog-react';
import {
useEntity,
MissingAnnotationEmptyState,
} from '@backstage/plugin-catalog-react';
import React, { useEffect, useState } from 'react';
import { Version, nomadApiRef } from '../../api';
import { configApiRef, useApi } from '@backstage/core-plugin-api';