Skip to content

Commit 3c19163

Browse files
committed
chore: Undo linting changes for PR
1 parent 3f60ab3 commit 3c19163

File tree

1 file changed

+18
-10
lines changed
  • client/src/components/admin/dashboard

1 file changed

+18
-10
lines changed

client/src/components/admin/dashboard/index.js

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Tab from '../../../common/tabs/tab';
1010
import LocationTableReport from '../reports';
1111
import '../../../sass/Dashboard.scss';
1212
import './index.scss';
13-
import { REACT_APP_CUSTOM_REQUEST_HEADER as headerToSend } from '../../../utils/globalSettings';
13+
import { REACT_APP_CUSTOM_REQUEST_HEADER as headerToSend} from '../../../utils/globalSettings';
1414
import { Typography } from '@mui/material';
1515

1616
const AdminDashboard = () => {
@@ -34,23 +34,31 @@ const AdminDashboard = () => {
3434
const [processedCheckins, setCheckins] = useState(null);
3535

3636
// Volunteers SignedIn By Event Type
37-
const [totalVolunteersByEventType, setVolunteersSignedInByEventType] =
38-
useState({});
39-
const [totalVolunteerHoursByEventType, setVolunteeredHoursByEventType] =
40-
useState({});
37+
const [
38+
totalVolunteersByEventType,
39+
setVolunteersSignedInByEventType,
40+
] = useState({});
41+
const [
42+
totalVolunteerHoursByEventType,
43+
setVolunteeredHoursByEventType,
44+
] = useState({});
4145
const [totalVolunteerAvgHoursByEventType, setAvgHoursByEventType] = useState(
4246
{}
4347
);
4448

4549
// Volunteers SignedIn By HackNight Property
46-
const [totalVolunteersByHackNightProp, setVolunteersSignedInByHackNightProp] =
47-
useState({});
50+
const [
51+
totalVolunteersByHackNightProp,
52+
setVolunteersSignedInByHackNightProp,
53+
] = useState({});
4854
const [
4955
totalVolunteerHoursByHackNightProp,
5056
setVolunteeredHoursByHackNightProp,
5157
] = useState({});
52-
const [totalVolunteerAvgHoursByHackNightProp, setAvgHoursByHackNightProp] =
53-
useState({});
58+
const [
59+
totalVolunteerAvgHoursByHackNightProp,
60+
setAvgHoursByHackNightProp,
61+
] = useState({});
5462

5563
// Volunteers To Chart
5664
const [totalVolunteers, setVolunteersToChart] = useState({});
@@ -373,7 +381,7 @@ const AdminDashboard = () => {
373381
return function cleanup() {
374382
abortController.abort();
375383
};
376-
// eslint-disable-next-line react-hooks/exhaustive-deps
384+
// eslint-disable-next-line react-hooks/exhaustive-deps
377385
}, []);
378386

379387
return auth && auth.user ? (

0 commit comments

Comments
 (0)