Skip to content

Commit da0ab98

Browse files
committed
#2081: Edit to name of const
1 parent 3f1f166 commit da0ab98

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ interface ReimbursementRequestFormProps {
4848
previousPage: string;
4949
}
5050

51-
const RECEIPT_REQUIRED = import.meta.env.VITE_RR_RECEIPT_REQUIREMENT || 'disabled';
51+
const RECEIPTS_REQUIRED = import.meta.env.VITE_RR_RECEIPT_REQUIREMENT || 'disabled';
5252

5353
const schema = yup.object().shape({
5454
vendorId: yup.string().required('Vendor is required'),
@@ -73,7 +73,7 @@ const schema = yup.object().shape({
7373
// The requirements for receipt uploads is disabled by default on development to make testing easier;
7474
// if testing proper receipt uploads is needed, create an environment variable called VITE_RR_RECEIPT_REQUIREMENT
7575
// in src/frontend/.env and set it to 'enabled'.
76-
import.meta.env.MODE === 'development' && RECEIPT_REQUIRED !== 'enabled'
76+
import.meta.env.MODE === 'development' && RECEIPTS_REQUIRED !== 'enabled'
7777
? yup.array()
7878
: yup
7979
.array()

0 commit comments

Comments
 (0)