small changes to obey eslint

This commit is contained in:
mbalsdon 2022-03-29 22:41:56 -07:00
parent 749732a6cf
commit 612a937df9
2 changed files with 3 additions and 4 deletions

View File

@ -30,6 +30,7 @@ const MeetingsPanel: React.FC = () => {
// );
// participants.push(userLite);
// });
const [currentDate, setCurrentDate] = useState<Date>(new Date());
useEffect(() => {
@ -46,7 +47,7 @@ const MeetingsPanel: React.FC = () => {
</Typography>
</div>
<List style={{maxHeight: '100%', overflow: 'auto'}} >
<List style={{maxHeight: "100%", overflow: "auto"}} >
{meetings.map((meeting) => {
const meetingMembers: UserLite[] = [];
participants.forEach((userLite) => {
@ -62,7 +63,7 @@ const MeetingsPanel: React.FC = () => {
const currentDatemil = currentDate.getTime();
if (currentDatemil >= startDatemil && currentDatemil <= endDatemil) {
let lastMeetingClass = meetings.length == i ? " lastMeeting" : "";
const lastMeetingClass = meetings.length == i ? " lastMeeting" : "";
i += 1;
return (
<Meeting

View File

@ -1,7 +1,5 @@
import PeopleIcon from "@mui/icons-material/People";
import AddIcon from "@mui/icons-material/Add";
import PhoneEnabledIcon from "@mui/icons-material/PhoneEnabled";
import CircleIcon from "@mui/icons-material/Circle";
import Button from "@mui/material/Button";
import Grid from "@mui/material/Grid";
import Typography from "@mui/material/Typography";