Fetch a campaign by id or slug, dispatching across Tiltify / Twitch.
Twitch responses are projected into the Tiltify shape so downstream code can deal with a single payload type.
Optional
const { data, isLoading } = useCampaign( { charityType: "tiltify", slug: "my-stream", teamUserSlug: "@me" }, { refetchInterval: 5_000 }); Copy
const { data, isLoading } = useCampaign( { charityType: "tiltify", slug: "my-stream", teamUserSlug: "@me" }, { refetchInterval: 5_000 });
Fetch a campaign by id or slug, dispatching across Tiltify / Twitch.
Twitch responses are projected into the Tiltify shape so downstream code can deal with a single payload type.