Fetch the union of personal + team campaigns a Tiltify user participates in. Same auto-disable rule as useTiltifyUserCampaigns.
Powers the "pick a campaign" dropdowns in the landing app where team campaigns need to appear alongside personal ones.
UseTiltifyUserCampaignsParams.
Optional
Standard UseFetchOptions.
A UseFetchResult of interleaved personal + team campaigns.
const { data: campaigns } = useTiltifyUserAndTeamCampaigns({ userId }); Copy
const { data: campaigns } = useTiltifyUserAndTeamCampaigns({ userId });
Fetch the union of personal + team campaigns a Tiltify user participates in. Same auto-disable rule as useTiltifyUserCampaigns.
Powers the "pick a campaign" dropdowns in the landing app where team campaigns need to appear alongside personal ones.