From a965a70548ae0f409df5994b76187f129fb73896 Mon Sep 17 00:00:00 2001 From: Juan Lulkin Date: Thu, 25 Feb 2021 13:47:28 +0100 Subject: [PATCH] Removes unused makeStyles --- .../src/components/SplunkOnCallCard.tsx | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/plugins/splunk-on-call/src/components/SplunkOnCallCard.tsx b/plugins/splunk-on-call/src/components/SplunkOnCallCard.tsx index ae6b0420b0..1e28be1483 100644 --- a/plugins/splunk-on-call/src/components/SplunkOnCallCard.tsx +++ b/plugins/splunk-on-call/src/components/SplunkOnCallCard.tsx @@ -25,8 +25,6 @@ import { } from '@backstage/core'; import { Entity } from '@backstage/catalog-model'; import { - Button, - makeStyles, Card, CardHeader, Divider, @@ -43,22 +41,6 @@ import { TriggerDialog } from './TriggerDialog'; import { MissingApiKeyOrApiIdError } from './Errors/MissingApiKeyOrApiIdError'; import { User } from './types'; -const useStyles = makeStyles({ - triggerAlarm: { - paddingTop: 0, - paddingBottom: 0, - fontSize: '0.7rem', - textTransform: 'uppercase', - fontWeight: 600, - letterSpacing: 1.2, - lineHeight: 1.5, - '&:hover, &:focus, &.focus': { - backgroundColor: 'transparent', - textDecoration: 'none', - }, - }, -}); - export const SPLUNK_ON_CALL_TEAM = 'splunk.com/on-call-team'; export const MissingTeamAnnotation = () => ( @@ -83,7 +65,6 @@ type Props = { }; export const SplunkOnCallCard = ({ entity }: Props) => { - const classes = useStyles(); const config = useApi(configApiRef); const api = useApi(splunkOnCallApiRef); const [showDialog, setShowDialog] = useState(false);