CLOVER Website - v0.3.1
    Preparing search index...
    • Custom hook to fetch and manage class activity logs. It fetches all activity logs for the provided classes and filters them based on the selected class ID.

      Parameters

      • classes: UserClass[]

        Array of UserClass objects representing the classes to fetch activity for.

      • selectedClassId: null | string

        The ID of the selected class to filter activity logs by.

      Returns {
          allActivity: UserActivityLogItem[];
          classActivity: UserActivityLogItem[];
          error: null | string;
          isEmpty: boolean;
          loading: boolean;
          progressData: ProgressData;
      }

      An object containing the following properties: