fix(roles): handle errors properly in edit role API

This commit is contained in:
ghazall-ag
2025-11-05 18:20:45 +03:30
parent 453cc81c70
commit 06d430d21c
10 changed files with 644 additions and 81 deletions

View File

@@ -6,6 +6,7 @@ import {
Settings,
Menu,
X,
Users,
Shield
} from 'lucide-react';
@@ -14,6 +15,7 @@ const Sidebar = ({ isOpen, onToggle }) => {
{ name: 'Dashboard', href: '/', icon: LayoutDashboard },
{ name: 'Transactions', href: '/transactions', icon: CreditCard },
{ name: 'Roles', href: '/roles', icon: Shield },
{ name: 'Users', href: '/users', icon: Users },
{ name: 'Settings', href: '/settings', icon: Settings },
];