Skip to content

Commit

Permalink
chore: fixing operation review after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
pbastia committed Jan 9, 2025
1 parent e004dd6 commit 8157474
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export default function OperationReview({
const [schema, setSchema] = useState<RJSFSchema>(operationReviewSchema);
const [uiSchema, setUiSchema] = useState<RJSFSchema>(operationReviewUiSchema);
const [formDataState, setFormDataState] = useState<any>(formData);
const [facilityId, setFacilityId] = useState<string | null>(null);
const [operationType, setOperationType] = useState("");
const [errors, setErrors] = useState<string[]>();

Expand All @@ -68,8 +67,8 @@ export default function OperationReview({

const taskListElements = getOperationInformationTaskList(
version_id,
facilityId,
ActivePage.ReviewOperatorInfo,
operationType,
);

const prepareFormData = (formDataObject: any) => {
Expand Down Expand Up @@ -234,6 +233,7 @@ export default function OperationReview({
onChange={onChangeHandler}
backUrl={backUrl}
continueUrl={saveAndContinueUrl}
errors={errors}
/>
</>
);
Expand Down

0 comments on commit 8157474

Please sign in to comment.