fixed: current user team ids fetch issue in azure-devops plugin

Signed-off-by: Deepankumar Loganathan <deepan0433@gmail.com>
This commit is contained in:
Deepankumar Loganathan
2023-01-16 19:12:40 +01:00
parent 1bd940a083
commit bfdd4b6a3c
@@ -31,7 +31,7 @@ export function useUserTeamIds(userId: string | undefined): {
error,
} = useAsync(() => {
return userId ? api.getUserTeamIds(userId) : Promise.resolve(undefined);
}, [api]);
}, [userId, api]);
return {
teamIds,