We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab33767 commit ba905d6Copy full SHA for ba905d6
1 file changed
planventure-client/src/layouts/DashboardLayout.jsx
@@ -3,7 +3,8 @@ import {
3
Box,
4
Drawer,
5
List,
6
- ListItem,
+ ListItem,
7
+ ListItemButton,
8
ListItemIcon,
9
ListItemText,
10
IconButton,
@@ -63,8 +64,7 @@ const DashboardLayout = ({ children }) => {
63
64
<Divider />
65
<List>
66
{menuItems.map((item) => (
- <ListItem
67
- button
+ <ListItemButton
68
key={item.text}
69
onClick={() => {
70
navigate(item.path);
@@ -86,7 +86,7 @@ const DashboardLayout = ({ children }) => {
86
{item.icon}
87
</ListItemIcon>
88
<ListItemText primary={item.text} />
89
- </ListItem>
+ </ListItemButton>
90
))}
91
</List>
92
</Box>
0 commit comments