Skip to content

Commit d3887ac

Browse files
authored
[frontend] Remove icon useless (#3416)
1 parent fbec581 commit d3887ac

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

openbas-front/src/admin/components/simulations/simulation/timeline/TimelineOverview.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { PreviewOutlined } from '@mui/icons-material';
21
import { List, ListItem, ListItemButton, ListItemIcon, ListItemText, Paper, Typography, useTheme } from '@mui/material';
32
import { useState } from 'react';
43
import { Link, useParams } from 'react-router';
@@ -137,7 +136,7 @@ const TimelineOverview = () => {
137136
<Typography variant="h4">{t('Processed injects')}</Typography>
138137
<Paper variant="outlined">
139138
{pendingInjects.length > 0 ? (
140-
<List style={{ paddingTop: 0 }}>
139+
<List style={{ paddingTop: theme.spacing(0) }}>
141140
{pendingInjects.map((inject: InjectStore) => {
142141
return (
143142
<ListItem
@@ -213,7 +212,7 @@ const TimelineOverview = () => {
213212
{processedInjects.length > 0 ? (
214213
<List style={{ paddingTop: 0 }}>
215214
{processedInjects.map((inject: InjectStore) => (
216-
<ListItem key={inject.inject_id} secondaryAction={<PreviewOutlined />}>
215+
<ListItem key={inject.inject_id}>
217216
<ListItemButton
218217
dense
219218
classes={{ root: classes.item }}

0 commit comments

Comments
 (0)