From d992b5eedc346b15056cd35700d10cc25622492d Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sun, 5 Mar 2023 00:52:00 +0200 Subject: [PATCH] page title translation --- src/features/machines/components/MachinesContainer.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/features/machines/components/MachinesContainer.js b/src/features/machines/components/MachinesContainer.js index 20cf0d6..efcf509 100644 --- a/src/features/machines/components/MachinesContainer.js +++ b/src/features/machines/components/MachinesContainer.js @@ -6,10 +6,12 @@ import { import useApi from "../../../api"; import MachinesList from "./MachinesList"; import PageTitle from "../../../components/common/PageTitle"; +import { useTranslation } from "react-i18next"; const MachinesContainer = () => { const state = useContext(ApplicationStateContext); const dispatchActions = useContext(ApplicationDispatchContext); + const { t } = useTranslation(); const api = useApi(); @@ -30,7 +32,7 @@ const MachinesContainer = () => { return ( <> - + );