From 57243b3243b18858d20441b955eacbfad0a8f1a7 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 8 Jul 2022 16:32:31 -0700 Subject: Change events clear button --- modern/src/main/EventsDrawer.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modern/src') diff --git a/modern/src/main/EventsDrawer.js b/modern/src/main/EventsDrawer.js index 91d6e3db..1843b46f 100644 --- a/modern/src/main/EventsDrawer.js +++ b/modern/src/main/EventsDrawer.js @@ -1,7 +1,7 @@ import React from 'react'; import { useDispatch, useSelector } from 'react-redux'; import { - Drawer, IconButton, List, ListItem, ListItemText, Toolbar, Typography, + Button, Drawer, IconButton, List, ListItem, ListItemText, Toolbar, Typography, } from '@mui/material'; import { makeStyles } from '@mui/styles'; import DeleteIcon from '@mui/icons-material/Delete'; @@ -34,9 +34,9 @@ const EventsDrawer = ({ open, onClose }) => { {t('reportEvents')} - dispatch(eventsActions.deleteAll())}> - - + {events.map((event) => ( -- cgit v1.2.3