This commit is contained in:
lumijiez
2025-06-24 17:56:46 +03:00
parent 0c854ef981
commit b266277ec0

View File

@@ -47,7 +47,6 @@ export const useRoles = () => {
return roleNames.every(roleName => hasRole(roleName));
};
// Common role checks based on your existing logic
const isMerchant = hasAnyRole(['merchant', 'admin']);
const isAdmin = hasRole('admin');
const isCustomer = hasRole('customer');