Dev #14

Merged
bytegrip merged 4 commits from dev into main 2025-06-25 12:21:22 +00:00
Showing only changes of commit b266277ec0 - Show all commits

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');