diff options
Diffstat (limited to 'modern/src/admin/UsersPage.js')
-rw-r--r-- | modern/src/admin/UsersPage.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modern/src/admin/UsersPage.js b/modern/src/admin/UsersPage.js index 529cdc64..e4b21467 100644 --- a/modern/src/admin/UsersPage.js +++ b/modern/src/admin/UsersPage.js @@ -1,6 +1,5 @@ import React, { useState } from 'react'; import MainToobar from '../MainToolbar'; -import { useHistory } from 'react-router-dom'; import { TableContainer, Table, TableRow, TableCell, TableHead, TableBody, makeStyles, IconButton } from '@material-ui/core'; import MoreVertIcon from '@material-ui/icons/MoreVert'; import t from '../common/localization'; @@ -63,12 +62,11 @@ const UsersView = ({ updateTimestamp, onMenuClick }) => { } const UsersPage = () => { - const history = useHistory(); const classes = useStyles(); return ( <div className={classes.root}> - <MainToobar history={history} /> + <MainToobar /> <EditCollectionView content={UsersView} editPath="/user" endpoint="users" /> </div> ); |