From 2f0934d26ee9d991a6540495dab910e0239b8da3 Mon Sep 17 00:00:00 2001
From: Tymen Steur <>
Date: Sat, 4 Jan 2020 00:14:27 +0100
Subject: [PATCH] Also pass the dense prop to the DashboardMenuItem so it is
always styled the same as the reguler menu items
---
packages/ra-ui-materialui/src/layout/DashboardMenuItem.js | 1 -
packages/ra-ui-materialui/src/layout/Menu.js | 6 +++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/packages/ra-ui-materialui/src/layout/DashboardMenuItem.js b/packages/ra-ui-materialui/src/layout/DashboardMenuItem.js
index 08bd8b4f2ca..d98dac4db08 100644
--- a/packages/ra-ui-materialui/src/layout/DashboardMenuItem.js
+++ b/packages/ra-ui-materialui/src/layout/DashboardMenuItem.js
@@ -14,7 +14,6 @@ const DashboardMenuItem = ({ locale, onClick, ...props }) => {
primaryText={translate('ra.page.dashboard')}
leftIcon={