Translation and localisation.

This commit is contained in:
Owaise Imdad committed 2025-06-18 22:31:48 +05:30
1 parent 81d830d99e
commit e6b9b5df3c
1 file changed
+2 -2
@@ -13,8 +13,6 @@ import { useTranslation } from "react-i18next";
import { createToast } from "../../Utils/toastUtils";
import { useExportMonitors } from "../../Hooks/monitorHooks";
const options = ["Import Monitors", "Export Monitors"];
const MonitorActions = ({ isLoading }) => {
const [open, setOpen] = React.useState(false);
const anchorRef = React.useRef(null);
@@ -23,6 +21,8 @@ const MonitorActions = ({ isLoading }) => {
const { t } = useTranslation();
const [exportMonitors, isExporting] = useExportMonitors();
const options = [t('monitorActions.import'), t('monitorActions.export')];
const handleClick = async () => {
if (selectedIndex === 0) {
// Import