Skip to content

Commit

Permalink
#2674 Prettier Check
Browse files Browse the repository at this point in the history
  • Loading branch information
AShyamkumar19 committed Jun 29, 2024
1 parent 2546c2c commit 422ce32
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/frontend/src/pages/FinancePage/RefundsSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,10 @@ const Refunds = ({ userReimbursementRequests, allReimbursementRequests }: Refund
const displayedReimbursements = allReimbursements && tabValue === 1 ? allReimbursements : userReimbursements;
const displayedReimbursementRequests = (
allReimbursementRequests && tabValue === 1 ? allReimbursementRequests : userReimbursementRequests
).filter((request: ReimbursementRequest) => !request.reimbursementStatuses.some(status => status.type === ReimbursementStatusType.DENIED));
).filter(
(request: ReimbursementRequest) =>
!request.reimbursementStatuses.some((status) => status.type === ReimbursementStatusType.DENIED)
);

const rows = displayedReimbursements.map(getRefundRowData).sort(getComparator(order, orderBy));

Expand Down

0 comments on commit 422ce32

Please sign in to comment.