CLOVER Website - v0.3.1
    Preparing search index...
    • Custom hook to fetch students enrolled and waitlisted in a class.

      Parameters

      • classId: null | string

        The ID of the class to fetch students for.

      Returns {
          enrolledStudents: UserData[];
          error: null | string;
          loading: boolean;
          refetch: () => void;
          totalStudents: number;
          waitlistedStudents: UserData[];
      }

      • Contains enrolled and waitlisted students, loading state, error message, and refetch function.