From a32f8dd8a477b9abc0d42b28c82ac0c894da31eb Mon Sep 17 00:00:00 2001 From: Trial Date: Wed, 9 Apr 2025 11:06:26 +0300 Subject: [PATCH] Added side menu close on click --- src/Components/Sidebar/index.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Components/Sidebar/index.jsx b/src/Components/Sidebar/index.jsx index 84fe9b33d..88df029dd 100644 --- a/src/Components/Sidebar/index.jsx +++ b/src/Components/Sidebar/index.jsx @@ -148,7 +148,10 @@ function Sidebar() { return filteredAccountMenuItems.map((item) => ( navigate(item.path)} + onClick={() => { + closePopup(); + navigate(item.path) + }} sx={{ gap: theme.spacing(2), borderRadius: theme.shape.borderRadius,