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
@@ -29,7 +29,6 @@ import { BazaarProject } from '../../types';
import { DateTime } from 'luxon';
import { HomePageBazaarInfoCard } from '../HomePageBazaarInfoCard';
import { Entity } from '@backstage/catalog-model';
import { BackstageTheme } from '@backstage/theme';
type Props = {
project: BazaarProject;
@@ -42,7 +41,7 @@ type StyleProps = {
height: 'large' | 'small';
};
const useStyles = makeStyles((theme: BackstageTheme) => ({
const useStyles = makeStyles(theme => ({
description: (props: StyleProps) => ({
height: props.height === 'large' ? '10rem' : '4rem',
WebkitBackgroundClip: 'text',