diff --git a/client/src/Components/Dialog/index.jsx b/client/src/Components/Dialog/index.jsx index 3f4f16f05..e07597df4 100644 --- a/client/src/Components/Dialog/index.jsx +++ b/client/src/Components/Dialog/index.jsx @@ -2,6 +2,7 @@ import PropTypes from "prop-types"; import { Button, Stack } from "@mui/material"; import { GenericDialog } from "./genericDialog"; import { useTheme } from "@emotion/react"; +import { useTranslation } from "react-i18next"; const Dialog = ({ title, @@ -13,6 +14,7 @@ const Dialog = ({ isLoading, }) => { const theme = useTheme(); + const { t } = useTranslation(); return ( - Cancel + {t("cancel", "Cancel")}