···31313232 const docRecord = publicationData.documents
3333 .data as PubLeafletDocument.Record;
3434- console.log(docRecord);
35343635 // Search through all pages and blocks to find if this poll entity has been published
3736 for (const page of docRecord.pages || []) {
···4039 for (const blockWrapper of linearPage.blocks || []) {
4140 if (blockWrapper.block?.$type === ids.PubLeafletBlocksPoll) {
4241 const pollBlock = blockWrapper.block as PubLeafletBlocksPoll.Main;
4343- console.log(pollBlock);
4442 // Check if this poll's rkey matches our entity ID
4543 const rkey = pollBlock.pollRef.uri.split("/").pop();
4644 if (rkey === props.entityID) {