From fd9b4fc9370c9850493a3edb44cf4b3e608fdcd8 Mon Sep 17 00:00:00 2001 From: Johanah LEKEU <johanah.lekeu@filigran.io> Date: Fri, 6 Sep 2024 09:00:14 +0200 Subject: [PATCH] Resolve drone errors --- openbas-front/src/admin/components/injects/InjectTestList.tsx | 2 +- openbas-front/src/components/Message.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/openbas-front/src/admin/components/injects/InjectTestList.tsx b/openbas-front/src/admin/components/injects/InjectTestList.tsx index a0a112f798..74986a326b 100644 --- a/openbas-front/src/admin/components/injects/InjectTestList.tsx +++ b/openbas-front/src/admin/components/injects/InjectTestList.tsx @@ -1,6 +1,6 @@ import { makeStyles } from '@mui/styles'; import React, { CSSProperties, FunctionComponent, useEffect, useState } from 'react'; -import { List, ListItem, ListItemButton, ListItemIcon, ListItemSecondaryAction, ListItemText } from '@mui/material'; +import { List, ListItem, ListItemButton, ListItemIcon, ListItemText } from '@mui/material'; import type { InjectTestStatus, SearchPaginationInput } from '../../../utils/api-types'; import { useFormatter } from '../../../components/i18n'; import ItemStatus from '../../../components/ItemStatus'; diff --git a/openbas-front/src/components/Message.js b/openbas-front/src/components/Message.js index 0735c126b6..a86edaa203 100644 --- a/openbas-front/src/components/Message.js +++ b/openbas-front/src/components/Message.js @@ -37,7 +37,6 @@ class Message extends Component { } render() { - const { t } = this.props; const { text, error, open, sticky } = this.state; return ( <Snackbar