Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/views/CampaignDetail/Participants/Content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ const ParticipantsContent = ({ type }: Props) => {
return null
}

// TEST ONLY (throwaway branch): pad participants to 55 to preview the drawer
const edges55 = Array.from({ length: 55 }, (_, i) => {
const e = edges[i % edges.length]
return { ...e, cursor: `${e.cursor}-pad${i}` }
})

const isViewerApplySucceeded = campaign.application?.state === 'succeeded'

const children = (
Expand All @@ -78,7 +84,7 @@ const ParticipantsContent = ({ type }: Props) => {
/>
</List.Item>
)}
{edges
{edges55
.filter((e) => e.node.id !== viewer.id)
.map(({ node, cursor }, i) => (
<List.Item key={cursor}>
Expand Down
Loading