File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
site/src/components/Navbar/AdminDropdown Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import ListItemText from "@material-ui/core/ListItemText"
3
3
import { fade , makeStyles , Theme } from "@material-ui/core/styles"
4
4
import AdminIcon from "@material-ui/icons/SettingsOutlined"
5
5
import React , { useState } from "react"
6
- import { useNavigate } from "react-router-dom"
7
6
import { navHeight } from "../../../theme/constants"
8
7
import { BorderedMenu } from "../../BorderedMenu"
9
8
import { BorderedMenuRow } from "../../BorderedMenu/BorderedMenuRow"
@@ -44,7 +43,6 @@ const entries = [
44
43
45
44
export const AdminDropdown : React . FC = ( ) => {
46
45
const styles = useStyles ( )
47
- const navigate = useNavigate ( )
48
46
const [ anchorEl , setAnchorEl ] = useState < HTMLElement > ( )
49
47
const onClose = ( ) => setAnchorEl ( undefined )
50
48
const onOpenAdminMenu = ( ev : React . MouseEvent < HTMLDivElement > ) => setAnchorEl ( ev . currentTarget )
You can’t perform that action at this time.
0 commit comments