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 25, 2024
1 parent 879aaf1 commit 1b125b4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/frontend/src/pages/FinancePage/RefundsSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,9 @@ const Refunds = ({ userReimbursementRequests, allReimbursementRequests }: Refund
return <LoadingIndicator />;

const displayedReimbursements = allReimbursements && tabValue === 1 ? allReimbursements : userReimbursements;
const displayedReimbursementRequests =
(allReimbursementRequests && tabValue === 1 ? allReimbursementRequests : userReimbursementRequests).filter((request: ReimbursementRequest) => request.reimbursementStatuses[0].type !== ReimbursementStatusType.DENIED);
const displayedReimbursementRequests = (
allReimbursementRequests && tabValue === 1 ? allReimbursementRequests : userReimbursementRequests
).filter((request: ReimbursementRequest) => request.reimbursementStatuses[0].type !== ReimbursementStatusType.DENIED);

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

Expand Down

0 comments on commit 1b125b4

Please sign in to comment.