From 50d6ea0a304ef8297faad5e20155295005423c3a Mon Sep 17 00:00:00 2001 From: sylenien Date: Mon, 21 Nov 2022 16:31:28 +0100 Subject: [PATCH] change(ui): rm unused prop --- frontend/app/components/Assist/Assist.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/app/components/Assist/Assist.tsx b/frontend/app/components/Assist/Assist.tsx index 650b64d0e..ccbeafd35 100644 --- a/frontend/app/components/Assist/Assist.tsx +++ b/frontend/app/components/Assist/Assist.tsx @@ -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');