Skip to content

Commit

Permalink
Prettier changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jessrey619 committed Nov 15, 2024
1 parent 124a830 commit 6b6e906
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions client/src/pages/notifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,7 @@ const Notifications: NextPage = (): JSX.Element => {
managerRemarks: parsedData.ManagerRemarks,
startDate: parsedData.StartDate,
endDate: parsedData.EndDate,
leaveType:
notificationType === 'Leave' || 'leave_resolved'
? parsedData.LeaveType
: null,
leaveType: notificationType === 'Leave' || 'leave_resolved' ? parsedData.LeaveType : null,

Check failure on line 82 in client/src/pages/notifications.tsx

View workflow job for this annotation

GitHub Actions / Build frontend

Unexpected constant condition

Check failure on line 82 in client/src/pages/notifications.tsx

View workflow job for this annotation

GitHub Actions / Build frontend

Unexpected string value in conditional. An explicit empty string check is required
overtimeId: parsedData.OvertimeId,
managerApproveStatus:
parsedData.ManagerApproveStatus === RequestStatus.APPROVED
Expand Down

0 comments on commit 6b6e906

Please sign in to comment.