Skip to content

Commit

Permalink
fix: use i18next's hook to fetch translated content
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-bcps committed Nov 16, 2023
1 parent 1fbc2b7 commit 7294bb4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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 = [
{
Expand Down

0 comments on commit 7294bb4

Please sign in to comment.