Update navbar component

This commit is contained in:
Hazem Krimi
2021-05-01 19:40:22 +01:00
parent 5c97d044cb
commit 743274940e
2 changed files with 6 additions and 1 deletions
+5 -1
View File
@@ -31,7 +31,11 @@ const Navbar = ({ withSidebar }: NavbarProps) => {
items={
role !== 'admin'
? [
{ icon: <Settings />, label: 'Settings', action: () => {} },
{
icon: <Settings />,
label: 'Settings',
action: () => history.push('/settings'),
},
{
icon: <Logout />,
label: 'Logout',