Added side menu close on click

This commit is contained in:
Trial committed 2025-04-09 11:06:26 +03:00
1 parent 8da0d22d83
commit a32f8dd8a4
1 file changed
+4 -1
+4 -1
View File
@@ -148,7 +148,10 @@ function Sidebar() {
return filteredAccountMenuItems.map((item) => (
<MenuItem
key={item.name}
onClick={() => navigate(item.path)}
onClick={() => {
closePopup();
navigate(item.path)
}}
sx={{
gap: theme.spacing(2),
borderRadius: theme.shape.borderRadius,