page title translation

master
Tudor Stanciu 2023-03-05 00:52:00 +02:00
parent 3e9e9534e1
commit d992b5eedc
1 changed files with 3 additions and 1 deletions

View File

@ -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 (
<>
<PageTitle text="Machines" />
<PageTitle text={t("Menu.Machines")} />
<MachinesList dense={true} machines={state.network.machines} />
</>
);