page title translation
parent
3e9e9534e1
commit
d992b5eedc
|
@ -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} />
|
||||
</>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue