diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-09-20 23:17:59 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-09-20 23:17:59 -0700 |
commit | f575540df13fd67881daf6a3359e2d1a53da9fb0 (patch) | |
tree | 530afdb06144f64ff6d9b4f79000b33b0c34dbac /modern/src/admin | |
parent | b318cfd66ee2fa9918797fc0e0226a01983da746 (diff) | |
download | trackermap-web-f575540df13fd67881daf6a3359e2d1a53da9fb0.tar.gz trackermap-web-f575540df13fd67881daf6a3359e2d1a53da9fb0.tar.bz2 trackermap-web-f575540df13fd67881daf6a3359e2d1a53da9fb0.zip |
Remove unused code
Diffstat (limited to 'modern/src/admin')
-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> ); |