diff --git a/src/features/DisplayControls/GenericFormsDisplayControl/tests/GenericFormDisplayControl.spec.jsx b/src/features/DisplayControls/GenericFormsDisplayControl/tests/GenericFormDisplayControl.spec.jsx index 1e5f6acf..e27fb080 100644 --- a/src/features/DisplayControls/GenericFormsDisplayControl/tests/GenericFormDisplayControl.spec.jsx +++ b/src/features/DisplayControls/GenericFormsDisplayControl/tests/GenericFormDisplayControl.spec.jsx @@ -9,7 +9,6 @@ import { mockFormConcepts, mockFormTranslations, } from "./GenericFormDisplayControlMock"; -import { FormattedMessage } from 'react-intl'; jest.mock("../utils/GenericFormsDisplayControlUtils", () => { const originalModule = jest.requireActual( diff --git a/src/features/DisplayControls/GenericFormsDisplayControl/utils/GenericFormsDisplayControlUtils.jsx b/src/features/DisplayControls/GenericFormsDisplayControl/utils/GenericFormsDisplayControlUtils.jsx index a2c84e41..def12012 100644 --- a/src/features/DisplayControls/GenericFormsDisplayControl/utils/GenericFormsDisplayControlUtils.jsx +++ b/src/features/DisplayControls/GenericFormsDisplayControl/utils/GenericFormsDisplayControlUtils.jsx @@ -1,3 +1,4 @@ +import React from "react"; import axios from "axios"; import { FETCH_FORM_DETAILS_URL } from "../../../../constants"; import { getFetchFormTranslationsUrl } from "../../../../utils/CommonUtils";