catalog-react: moved DefaultStarredEntitiesApi implementation to catalog plugin
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -21,8 +21,8 @@ import {
|
||||
import {
|
||||
starredEntitiesApiRef,
|
||||
entityRouteRef,
|
||||
DefaultStarredEntitiesApi,
|
||||
} from '@backstage/plugin-catalog-react';
|
||||
import { DefaultStarredEntitiesApi } from '@backstage/plugin-catalog';
|
||||
import React from 'react';
|
||||
import { Content } from './Content';
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@ import {
|
||||
import {
|
||||
starredEntitiesApiRef,
|
||||
entityRouteRef,
|
||||
DefaultStarredEntitiesApi,
|
||||
} from '@backstage/plugin-catalog-react';
|
||||
import { DefaultStarredEntitiesApi } from '@backstage/plugin-catalog';
|
||||
import { Grid } from '@material-ui/core';
|
||||
import React, { ComponentType } from 'react';
|
||||
|
||||
|
||||
@@ -26,8 +26,8 @@ import { Content, Page, InfoCard } from '@backstage/core-components';
|
||||
import {
|
||||
starredEntitiesApiRef,
|
||||
entityRouteRef,
|
||||
DefaultStarredEntitiesApi
|
||||
} from '@backstage/plugin-catalog-react';
|
||||
import { DefaultStarredEntitiesApi } from '@backstage/plugin-catalog';
|
||||
import {
|
||||
HomePageSearchBar,
|
||||
SearchContextProvider,
|
||||
@@ -153,4 +153,3 @@ export const DefaultTemplate = () => {
|
||||
</SearchContextProvider>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user