···3132 const docRecord = publicationData.documents
33 .data as PubLeafletDocument.Record;
34- console.log(docRecord);
3536 // Search through all pages and blocks to find if this poll entity has been published
37 for (const page of docRecord.pages || []) {
···40 for (const blockWrapper of linearPage.blocks || []) {
41 if (blockWrapper.block?.$type === ids.PubLeafletBlocksPoll) {
42 const pollBlock = blockWrapper.block as PubLeafletBlocksPoll.Main;
43- console.log(pollBlock);
44 // Check if this poll's rkey matches our entity ID
45 const rkey = pollBlock.pollRef.uri.split("/").pop();
46 if (rkey === props.entityID) {
···3132 const docRecord = publicationData.documents
33 .data as PubLeafletDocument.Record;
03435 // Search through all pages and blocks to find if this poll entity has been published
36 for (const page of docRecord.pages || []) {
···39 for (const blockWrapper of linearPage.blocks || []) {
40 if (blockWrapper.block?.$type === ids.PubLeafletBlocksPoll) {
41 const pollBlock = blockWrapper.block as PubLeafletBlocksPoll.Main;
042 // Check if this poll's rkey matches our entity ID
43 const rkey = pollBlock.pollRef.uri.split("/").pop();
44 if (rkey === props.entityID) {