From 5843192bdeb2c63bed59d87e7ab2048d5cc68bfd Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Tue, 24 Sep 2024 14:11:19 +0800 Subject: [PATCH] -> --- Client/src/Components/Sidebar/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/src/Components/Sidebar/index.jsx b/Client/src/Components/Sidebar/index.jsx index aa80e0c8..591a93a2 100644 --- a/Client/src/Components/Sidebar/index.jsx +++ b/Client/src/Components/Sidebar/index.jsx @@ -93,7 +93,7 @@ function Sidebar() { const { user } = useSelector((state) => state.auth); // Remove demo password if demo - const accountMenuItem = menu.find((item) => item.name === "account"); + const accountMenuItem = menu.find((item) => item.name === "Account"); if (user.role?.includes("demo") && accountMenuItem) { accountMenuItem.nested = accountMenuItem.nested.filter((item) => { return item.name !== "Password";