From 8fd0b12f57f7a3c8413a94dd9618b5075faa4c2c Mon Sep 17 00:00:00 2001 From: Diana Olarte Date: Fri, 10 Oct 2025 01:05:24 +1100 Subject: [PATCH] refactor: fix tsdoc for usePermissionsByRole --- src/authz-module/data/hooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authz-module/data/hooks.ts b/src/authz-module/data/hooks.ts index 9af0374..658f548 100644 --- a/src/authz-module/data/hooks.ts +++ b/src/authz-module/data/hooks.ts @@ -37,7 +37,7 @@ export const useTeamMembers = (object: string) => useQuery( * * @example * ```tsx - * const { data: roles, isLoading, isError } = useTeamMembers('lib:123'); + * const { data: roles } = usePermissionsByRole('lib:123'); * ``` */ export const usePermissionsByRole = (scope: string) => useSuspenseQuery({