Skip to content

Commit 9089c03

Browse files
committed
linting and prettier
1 parent 16a1ff8 commit 9089c03

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/backend/src/services/reimbursement-requests.services.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1140,7 +1140,9 @@ export default class ReimbursementRequestService {
11401140
throw new InvalidOrganizationException('Reimbursement Request');
11411141

11421142
if (
1143-
!reimbursementRequest.reimbursementStatuses.some((status) => status.type === ReimbursementStatusType.LEADERSHIP_APPROVED)
1143+
!reimbursementRequest.reimbursementStatuses.some(
1144+
(status) => status.type === ReimbursementStatusType.LEADERSHIP_APPROVED
1145+
)
11441146
) {
11451147
throw new HttpException(400, 'This reimbursement request has not been approved by leadership');
11461148
}

src/frontend/src/pages/AdminToolsPage/EditGuestView/EditLogoForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const EditLogoForm: React.FC<EditLogoFormProps> = ({ onSubmit, orgLogo, onHide }
7474
<input
7575
onChange={(e) => {
7676
if (e.target.files && e.target.files[0]) {
77-
const file = e.target.files[0];
77+
const [file] = e.target.files;
7878
if (file.size > MAX_FILE_SIZE) {
7979
toast.error(
8080
`File "${file.name}" exceeds the maximum size limit of ${MAX_FILE_SIZE / 1024 / 1024} MB`

0 commit comments

Comments
 (0)