diff options
Diffstat (limited to 'modern/src/admin/UsersPage.js')
-rw-r--r-- | modern/src/admin/UsersPage.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modern/src/admin/UsersPage.js b/modern/src/admin/UsersPage.js index 2bfbb755..92db32e0 100644 --- a/modern/src/admin/UsersPage.js +++ b/modern/src/admin/UsersPage.js @@ -3,11 +3,11 @@ 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 { formatBoolean } from '../common/formatter'; import OptionsLayout from '../settings/OptionsLayout'; +import { useTranslation } from '../LocalizationProvider'; const useStyles = makeStyles((theme) => ({ columnAction: { @@ -18,6 +18,7 @@ const useStyles = makeStyles((theme) => ({ const UsersView = ({ updateTimestamp, onMenuClick }) => { const classes = useStyles(); + const t = useTranslation(); const [items, setItems] = useState([]); |