From aec7c7595f9546532feee87c6acf9f2a7fded97c Mon Sep 17 00:00:00 2001 From: szelongq <72333104+szelongq@users.noreply.github.com> Date: Tue, 14 Nov 2023 14:32:14 +0800 Subject: [PATCH] Remove unused buttons in Navbar --- frontend/src/components/Navbar.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/src/components/Navbar.tsx b/frontend/src/components/Navbar.tsx index 68ef821d..ae0f0e2f 100644 --- a/frontend/src/components/Navbar.tsx +++ b/frontend/src/components/Navbar.tsx @@ -64,8 +64,6 @@ export default function Navbar() { let settings = [ { name: "Profile", onclick: () => navigate("/profile", { replace: true }) }, - { name: "Account", onclick: handleCloseUserMenu }, - { name: "Dashboard", onclick: handleCloseUserMenu }, { name: "Logout", onclick: logout }, ]; if (user?.role === "master") {