Skip to content

Commit a26582b

Browse files
Samuel ShresthaSamuel Shrestha
authored andcommitted
removed unnecessary changes
1 parent 49c6eeb commit a26582b

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

  • src/frontend/src/pages/ProjectDetailPage/ProjectViewContainer/BOM/MaterialForm

src/frontend/src/pages/ProjectDetailPage/ProjectViewContainer/BOM/MaterialForm/MaterialForm.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ const schema = yup.object().shape({
2929
linkUrl: yup.string().optional(),
3030
notes: yup.string().optional(),
3131
pdmFileName: yup.string().optional(),
32-
assemblyId: yup.string().optional(),
33-
reimbursementRequestId: yup.string().optional()
32+
assemblyId: yup.string().optional()
3433
});
3534

3635
export interface MaterialFormInput {
@@ -46,7 +45,6 @@ export interface MaterialFormInput {
4645
linkUrl?: string;
4746
notes?: string;
4847
assemblyId?: string;
49-
reimbursementRequestId?: string;
5048
}
5149

5250
export interface MaterialDataSubmission {
@@ -103,8 +101,7 @@ const MaterialForm: React.FC<MaterialFormProps> = ({
103101
unitName: defaultValues?.unitName,
104102
linkUrl: defaultValues?.linkUrl ?? '',
105103
notes: defaultValues?.notes,
106-
assemblyId: defaultValues?.assemblyId,
107-
reimbursementRequestId: defaultValues?.reimbursementRequestId
104+
assemblyId: defaultValues?.assemblyId
108105
},
109106
resolver: yupResolver(schema)
110107
});

0 commit comments

Comments
 (0)