Skip to content

Commit

Permalink
rm unused lines and comment
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssayzhang committed Feb 28, 2024
1 parent b1004e2 commit 0687d78
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ const TeamEventCreditForm: React.FC = () => {
hoursAttended: teamEvent.hasHours ? Number(hours) : undefined,
image: `eventProofs/${getNetIDFromEmail(userInfo.email)}/${new Date().toISOString()}`,
eventUuid: teamEvent.uuid,
// pending: true,
status: 'pending' as Status,
reason: '',
uuid: ''
Expand All @@ -114,16 +113,6 @@ const TeamEventCreditForm: React.FC = () => {
images[index]
);

// const newTeamAttendance: TeamEventAttendance = {
// member: userInfo,
// hoursAttended: teamEvent.hasHours ? Number(hours) : undefined,
// image: `eventProofs/${getNetIDFromEmail(userInfo.email)}/${new Date().toISOString()}`,
// eventUuid: teamEvent.uuid,
// status: 'pending' as Status,
// reason: '',
// uuid: ''
// };

if (createdAttendance) {
const updatedAttendance = {
...newTeamEventAttendance,
Expand Down

0 comments on commit 0687d78

Please sign in to comment.