@playlive/react-pipeline
    Preparing search index...

    Function usePipelineDonationTrains

    • Fetch the donation-trains for a single campaign id, optionally filtered by status. Uses the underlying store getter, then guards the selector against array-identity churn by returning a stable empty array when no trains exist for the id.

      Parameters

      • id: string
      • OptionalwithStatus: DonationTrainStatus | null

      Returns DonationTrain[]