aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/GroupsPage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-09-02 23:20:12 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-09-02 23:20:12 -0700
commite6f906dbb565abdb29297ec67db3c922135c628c (patch)
treea6d1c89436d066ec9171b6a68e8d5e7eeb56d2de /modern/src/settings/GroupsPage.js
parente5f07d30df69c1fff28cf1ff8502e4843a8b543c (diff)
downloadtrackermap-web-e6f906dbb565abdb29297ec67db3c922135c628c.tar.gz
trackermap-web-e6f906dbb565abdb29297ec67db3c922135c628c.tar.bz2
trackermap-web-e6f906dbb565abdb29297ec67db3c922135c628c.zip
Migrate components
Diffstat (limited to 'modern/src/settings/GroupsPage.js')
-rw-r--r--modern/src/settings/GroupsPage.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/modern/src/settings/GroupsPage.js b/modern/src/settings/GroupsPage.js
index 89715928..0b28e7bf 100644
--- a/modern/src/settings/GroupsPage.js
+++ b/modern/src/settings/GroupsPage.js
@@ -3,10 +3,10 @@ import {
TableContainer, Table, TableRow, TableCell, TableHead, TableBody, makeStyles, IconButton,
} from '@material-ui/core';
import MoreVertIcon from '@material-ui/icons/MoreVert';
-import t from '../LocalizationProvider';
import { useEffectAsync } from '../reactHelper';
import EditCollectionView from '../EditCollectionView';
import OptionsLayout from './OptionsLayout';
+import { useTranslation } from '../LocalizationProvider';
const useStyles = makeStyles((theme) => ({
columnAction: {
@@ -17,6 +17,7 @@ const useStyles = makeStyles((theme) => ({
const GroupsView = ({ updateTimestamp, onMenuClick }) => {
const classes = useStyles();
+ const t = useTranslation();
const [items, setItems] = useState([]);