aboutsummaryrefslogtreecommitdiff
path: root/modern/src/EditCollectionView.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/EditCollectionView.js')
-rw-r--r--modern/src/EditCollectionView.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/modern/src/EditCollectionView.js b/modern/src/EditCollectionView.js
index 944ef61b..0bfec615 100644
--- a/modern/src/EditCollectionView.js
+++ b/modern/src/EditCollectionView.js
@@ -7,8 +7,8 @@ import Fab from '@material-ui/core/Fab';
import AddIcon from '@material-ui/icons/Add';
import { useSelector } from 'react-redux';
-import t from './LocalizationProvider';
import RemoveDialog from './RemoveDialog';
+import { useTranslation } from './LocalizationProvider';
const useStyles = makeStyles((theme) => ({
fab: {
@@ -23,6 +23,7 @@ const EditCollectionView = ({
}) => {
const classes = useStyles();
const history = useHistory();
+ const t = useTranslation();
const [selectedId, setSelectedId] = useState(null);
const [selectedAnchorEl, setSelectedAnchorEl] = useState(null);