diff --git a/plugins/splunk-on-call/src/components/Escalation/EscalationUser.tsx b/plugins/splunk-on-call/src/components/Escalation/EscalationUser.tsx index 7bc3069e4e..4df0719696 100644 --- a/plugins/splunk-on-call/src/components/Escalation/EscalationUser.tsx +++ b/plugins/splunk-on-call/src/components/Escalation/EscalationUser.tsx @@ -27,7 +27,6 @@ import { } from '@material-ui/core'; import Avatar from '@material-ui/core/Avatar'; import EmailIcon from '@material-ui/icons/Email'; -import OpenInBrowserIcon from '@material-ui/icons/OpenInBrowser'; import { User } from '../types'; const useStyles = makeStyles({ @@ -62,18 +61,6 @@ export const EscalationUser = ({ user }: Props) => { - {/* {user._selfUrl && ( - - - - - - )} */} ); diff --git a/plugins/splunk-on-call/src/components/Incident/IncidentListItem.tsx b/plugins/splunk-on-call/src/components/Incident/IncidentListItem.tsx index beaf1b4848..775c491a2b 100644 --- a/plugins/splunk-on-call/src/components/Incident/IncidentListItem.tsx +++ b/plugins/splunk-on-call/src/components/Incident/IncidentListItem.tsx @@ -31,7 +31,6 @@ import { StatusError, StatusWarning, StatusOK, - identityApiRef, useApi, alertApiRef, } from '@backstage/core'; @@ -138,7 +137,7 @@ export const IncidentListItem = ({ incident, onIncidentAction }: Props) => { : incident.monitorName; const [ - { value: resolveValue, loading: _resolveLoading, error: resolveError }, + { value: resolveValue, error: resolveError }, handleResolveIncident, ] = useAsyncFn( async ({ incidentNames }: PatchIncidentRequest) => @@ -148,11 +147,7 @@ export const IncidentListItem = ({ incident, onIncidentAction }: Props) => { ); const [ - { - value: acknowledgeValue, - loading: _acknowledgeLoading, - error: acknowledgeError, - }, + { value: acknowledgeValue, error: acknowledgeError }, handleAcknowledgeIncident, ] = useAsyncFn( async ({ incidentNames }: PatchIncidentRequest) =>