Skip to main content

1. useTeams

The useTeams returns all teams info. This hook is useful when you need to display or manage a user’s entire collection of teams. Below code snippet shows how to use the useTeams hook to fetch team details.