remove unnecessary usage of deprecated BackstageTheme

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2023-10-25 21:13:41 +02:00
parent c3f3253b74
commit 62b5922916
34 changed files with 232 additions and 250 deletions
@@ -22,7 +22,6 @@ import {
ResponseErrorPanel,
} from '@backstage/core-components';
import { useRouteRef } from '@backstage/core-plugin-api';
import { BackstageTheme } from '@backstage/theme';
import {
Box,
createStyles,
@@ -36,7 +35,7 @@ import { catalogIndexRouteRef } from '../../../routes';
import { useGetEntities } from './useGetEntities';
import { EntityRelationAggregation } from './types';
const useStyles = makeStyles((theme: BackstageTheme) =>
const useStyles = makeStyles(theme =>
createStyles({
card: {
border: `1px solid ${theme.palette.divider}`,