small changes to obey eslint
This commit is contained in:
parent
749732a6cf
commit
612a937df9
@ -30,6 +30,7 @@ const MeetingsPanel: React.FC = () => {
|
|||||||
// );
|
// );
|
||||||
// participants.push(userLite);
|
// participants.push(userLite);
|
||||||
// });
|
// });
|
||||||
|
|
||||||
const [currentDate, setCurrentDate] = useState<Date>(new Date());
|
const [currentDate, setCurrentDate] = useState<Date>(new Date());
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@ -46,7 +47,7 @@ const MeetingsPanel: React.FC = () => {
|
|||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<List style={{maxHeight: '100%', overflow: 'auto'}} >
|
<List style={{maxHeight: "100%", overflow: "auto"}} >
|
||||||
{meetings.map((meeting) => {
|
{meetings.map((meeting) => {
|
||||||
const meetingMembers: UserLite[] = [];
|
const meetingMembers: UserLite[] = [];
|
||||||
participants.forEach((userLite) => {
|
participants.forEach((userLite) => {
|
||||||
@ -62,7 +63,7 @@ const MeetingsPanel: React.FC = () => {
|
|||||||
const currentDatemil = currentDate.getTime();
|
const currentDatemil = currentDate.getTime();
|
||||||
|
|
||||||
if (currentDatemil >= startDatemil && currentDatemil <= endDatemil) {
|
if (currentDatemil >= startDatemil && currentDatemil <= endDatemil) {
|
||||||
let lastMeetingClass = meetings.length == i ? " lastMeeting" : "";
|
const lastMeetingClass = meetings.length == i ? " lastMeeting" : "";
|
||||||
i += 1;
|
i += 1;
|
||||||
return (
|
return (
|
||||||
<Meeting
|
<Meeting
|
||||||
|
|||||||
@ -1,7 +1,5 @@
|
|||||||
import PeopleIcon from "@mui/icons-material/People";
|
import PeopleIcon from "@mui/icons-material/People";
|
||||||
import AddIcon from "@mui/icons-material/Add";
|
|
||||||
import PhoneEnabledIcon from "@mui/icons-material/PhoneEnabled";
|
import PhoneEnabledIcon from "@mui/icons-material/PhoneEnabled";
|
||||||
import CircleIcon from "@mui/icons-material/Circle";
|
|
||||||
import Button from "@mui/material/Button";
|
import Button from "@mui/material/Button";
|
||||||
import Grid from "@mui/material/Grid";
|
import Grid from "@mui/material/Grid";
|
||||||
import Typography from "@mui/material/Typography";
|
import Typography from "@mui/material/Typography";
|
||||||
|
|||||||
Reference in New Issue
Block a user