import { useAuth } from "@/app/auth/AuthProvider.jsx"; import { PERMISSIONS } from "@/app/permissions"; export function useCoinAdjustmentAbilities() { const { can } = useAuth(); return { canCreate: can(PERMISSIONS.coinAdjustmentCreate), canView: can(PERMISSIONS.coinAdjustmentView), }; }