Skip to content

Commit d79723d

Browse files
#1277 only project reimbursement
1 parent 96bf3fc commit d79723d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/frontend/src/pages/FinancePage/ReimbursementRequestForm/ReimbursementRequestForm.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* See the LICENSE file in the repository root folder for details.
44
*/
55
import { useFieldArray, useForm } from 'react-hook-form';
6-
import { ClubAccount, ReimbursementProductCreateArgs, ReimbursementReceiptUploadArgs, WbsNumber } from 'shared';
6+
import { ClubAccount, ReimbursementProductCreateArgs, ReimbursementReceiptUploadArgs } from 'shared';
77
import { useGetAllExpenseTypes, useGetAllVendors } from '../../../hooks/finance.hooks';
88
import { useToast } from '../../../hooks/toasts.hooks';
99
import LoadingIndicator from '../../../components/LoadingIndicator';
@@ -156,7 +156,7 @@ const ReimbursementRequestForm: React.FC<ReimbursementRequestFormProps> = ({
156156
}
157157
};
158158

159-
const projectDropdown = allProjects.map((proj) => {
159+
const allProjectWbsElements = allProjects.map((proj) => {
160160
return {
161161
wbsNum: proj.wbsNum,
162162
wbsName: proj.name
@@ -178,7 +178,7 @@ const ReimbursementRequestForm: React.FC<ReimbursementRequestFormProps> = ({
178178
reimbursementProductRemove={reimbursementProductRemove}
179179
onSubmit={onSubmitWrapper}
180180
handleSubmit={handleSubmit}
181-
allWbsElements={projectDropdown}
181+
allWbsElements={allProjectWbsElements}
182182
submitText={submitText}
183183
previousPage={previousPage}
184184
setValue={setValue}

0 commit comments

Comments
 (0)