change(ui): rm unused prop

This commit is contained in:
sylenien 2022-11-21 16:31:28 +01:00 committed by Delirium
parent 9588be732f
commit 50d6ea0a30

View file

@ -10,11 +10,10 @@ import { withSiteId, assist, recordings } from 'App/routes';
interface Props extends RouteComponentProps {
siteId: string;
history: any;
setShowAlerts: (show: boolean) => void;
}
function Assist(props: Props) {
const { history, siteId, setShowAlerts } = props;
const { history, siteId } = props;
const isAssist = history.location.pathname.includes('assist');
const isRecords = history.location.pathname.includes('recordings');