diff --git a/forms-flow-ai/forms-flow-ai-ee/forms-flow-web/src/components/Form/constants/FormTable.js b/forms-flow-ai/forms-flow-ai-ee/forms-flow-web/src/components/Form/constants/FormTable.js index a132a117..dd18e63e 100644 --- a/forms-flow-ai/forms-flow-ai-ee/forms-flow-web/src/components/Form/constants/FormTable.js +++ b/forms-flow-ai/forms-flow-ai-ee/forms-flow-web/src/components/Form/constants/FormTable.js @@ -20,7 +20,7 @@ import SelectFormForDownload from "../FileUpload/SelectFormForDownload"; import LoadingOverlay from "react-loading-overlay"; import { STAFF_DESIGNER } from "../../../constants/constants"; import { getBundle } from "../../../apiManager/services/bundleServices"; -import { t } from "i18next"; +import { useTranslation } from "react-i18next"; import { TYPE_BUNDLE } from "../../../constants/applicationConstants"; function FormTable() { @@ -43,6 +43,7 @@ function FormTable() { const [search, setSearch] = useState(searchText || ""); const [bundleData, setBundleData] = useState([]); const [selectedRow, setSelectedRow] = useState(null); + const { t } = useTranslation(); const pageOptions = [ {