diff --git a/client/src/components/admin/dashboard/index.js b/client/src/components/admin/dashboard/index.js index 461614e54..d09ecbf52 100644 --- a/client/src/components/admin/dashboard/index.js +++ b/client/src/components/admin/dashboard/index.js @@ -10,7 +10,8 @@ import Tab from '../../../common/tabs/tab'; import LocationTableReport from '../reports'; import '../../../sass/Dashboard.scss'; import './index.scss'; -import { REACT_APP_CUSTOM_REQUEST_HEADER as headerToSend} from '../../../utils/globalSettings'; +import { REACT_APP_CUSTOM_REQUEST_HEADER as headerToSend } from '../../../utils/globalSettings'; +import { Typography } from '@mui/material'; const AdminDashboard = () => { const { auth } = useAuth(); @@ -33,31 +34,23 @@ const AdminDashboard = () => { const [processedCheckins, setCheckins] = useState(null); // Volunteers SignedIn By Event Type - const [ - totalVolunteersByEventType, - setVolunteersSignedInByEventType, - ] = useState({}); - const [ - totalVolunteerHoursByEventType, - setVolunteeredHoursByEventType, - ] = useState({}); + const [totalVolunteersByEventType, setVolunteersSignedInByEventType] = + useState({}); + const [totalVolunteerHoursByEventType, setVolunteeredHoursByEventType] = + useState({}); const [totalVolunteerAvgHoursByEventType, setAvgHoursByEventType] = useState( {} ); // Volunteers SignedIn By HackNight Property - const [ - totalVolunteersByHackNightProp, - setVolunteersSignedInByHackNightProp, - ] = useState({}); + const [totalVolunteersByHackNightProp, setVolunteersSignedInByHackNightProp] = + useState({}); const [ totalVolunteerHoursByHackNightProp, setVolunteeredHoursByHackNightProp, ] = useState({}); - const [ - totalVolunteerAvgHoursByHackNightProp, - setAvgHoursByHackNightProp, - ] = useState({}); + const [totalVolunteerAvgHoursByHackNightProp, setAvgHoursByHackNightProp] = + useState({}); // Volunteers To Chart const [totalVolunteers, setVolunteersToChart] = useState({}); @@ -380,23 +373,25 @@ const AdminDashboard = () => { return function cleanup() { abortController.abort(); }; - // eslint-disable-next-line react-hooks/exhaustive-deps + // eslint-disable-next-line react-hooks/exhaustive-deps }, []); return auth && auth.user ? (