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
@@ -34,7 +34,6 @@ import {
humanizeEntityRef,
getEntityRelations,
} from '@backstage/plugin-catalog-react';
import { BackstageTheme } from '@backstage/theme';
import { makeStyles, Typography, useTheme } from '@material-ui/core';
import ZoomOutMap from '@material-ui/icons/ZoomOutMap';
import classNames from 'classnames';
@@ -42,7 +41,7 @@ import React from 'react';
import useAsync from 'react-use/lib/useAsync';
const useStyles = makeStyles(
(theme: BackstageTheme) => ({
theme => ({
graph: {
minHeight: '100%',
flex: 1,