Skip to content

Commit

Permalink
Fix MenuItemAnchorLink, link didn't work as it is not a a tag
Browse files Browse the repository at this point in the history
  • Loading branch information
nsams committed Jul 23, 2019
1 parent e1ad9ba commit 28a7afa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-admin-mui/src/menu/ItemAnchorLink.tsx
Expand Up @@ -5,6 +5,6 @@ import { IMenuItemProps, MenuItem } from "./Item";
export class MenuItemAnchorLink extends React.Component<IMenuItemProps & ListItemProps & React.HTMLProps<HTMLAnchorElement>> {
public render() {
const { ...otherProps } = this.props;
return <MenuItem selected={false} {...otherProps} />;
return <MenuItem selected={false} component="a" {...otherProps} />;
}
}

0 comments on commit 28a7afa

Please sign in to comment.