Migrate my changes to the new core-* apis

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
This commit is contained in:
Oliver Sand
2021-08-12 11:52:37 +02:00
parent 690657799e
commit e0f228c46f
4 changed files with 9 additions and 9 deletions
@@ -18,9 +18,9 @@ import { CatalogClient } from '@backstage/catalog-client';
import {
ApiProvider,
ApiRegistry,
configApiRef,
ConfigReader,
} from '@backstage/core';
} from '@backstage/core-app-api';
import { configApiRef } from '@backstage/core-plugin-api';
import { catalogApiRef } from '@backstage/plugin-catalog-react';
import { wrapInTestApp } from '@backstage/test-utils';
import { act, render } from '@testing-library/react';
@@ -15,14 +15,13 @@
*/
import {
configApiRef,
Content,
ContentHeader,
Header,
Page,
SupportButton,
useApi,
} from '@backstage/core';
} from '@backstage/core-components';
import { configApiRef, useApi } from '@backstage/core-plugin-api';
import { Grid } from '@material-ui/core';
import React from 'react';
import { ImportInfoCard } from '../ImportInfoCard';
@@ -17,9 +17,9 @@
import {
ApiProvider,
ApiRegistry,
configApiRef,
ConfigReader,
} from '@backstage/core';
} from '@backstage/core-app-api';
import { configApiRef } from '@backstage/core-plugin-api';
import { wrapInTestApp } from '@backstage/test-utils';
import { act, render } from '@testing-library/react';
import React from 'react';
@@ -14,8 +14,9 @@
* limitations under the License.
*/
import { ConfigApi, configApiRef, InfoCard, useApi } from '@backstage/core';
import { Typography } from '@material-ui/core';
import { InfoCard } from '@backstage/core-components';
import { configApiRef, useApi } from '@backstage/core-plugin-api';
import { Chip, Typography } from '@material-ui/core';
import React from 'react';
import { useImportOptions } from '../ImportOptionsContext';