Skip to content

Commit

Permalink
fix: disable click on version menu item
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Mar 31, 2020
1 parent dfc8691 commit 944f369
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ui/src/layout/AppBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,17 @@ const ConfigurationMenu = forwardRef(({ onClick }, ref) => {
)
})

const VersionMenu = forwardRef(({ onClick }, ref) => {
const VersionMenu = forwardRef((props, ref) => {
const translate = useTranslate()
const classes = useStyles()

return (
<MenuItemLink
ref={ref}
to=""
to="#"
primaryText={translate('menu.version', {
version: localStorage.getItem('version')
})}
leftIcon={<InfoIcon />}
onClick={onClick}
className={classes.menuItem}
sidebarIsOpen={true}
/>
Expand Down

0 comments on commit 944f369

Please sign in to comment.