Translation and localisation.
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user