Skip to content

Commit

Permalink
Merge pull request #176 from K-Phoen/theme-deprecation
Browse files Browse the repository at this point in the history
Fix a Backstage theme-related deprecation
  • Loading branch information
K-Phoen committed Jun 26, 2023
2 parents d38ea67 + 337c967 commit efac275
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { useAsync } from 'react-use';
import { DateTime } from 'luxon';
import { Link } from '@backstage/core-components';
import { useApi, useRouteRef } from '@backstage/core-plugin-api';
import { BackstageTheme } from '@backstage/theme';
import {
IconButton,
makeStyles,
Expand All @@ -15,7 +14,7 @@ import Close from '@material-ui/icons/Close';
import { Announcement, announcementsApiRef } from '../../api';
import { announcementViewRouteRef } from '../../routes';

const useStyles = makeStyles((theme: BackstageTheme) => ({
const useStyles = makeStyles(theme => ({
// showing on top, as a block
blockPositioning: {
padding: theme.spacing(0),
Expand Down

0 comments on commit efac275

Please sign in to comment.