Mirror — see github.com/blacksky-algorithms/blacksky.community
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Show all-voted state when participationInit returns no next comment

+5 -1
+5 -1
src/components/Post/Embed/ExternalEmbed/AssemblyEmbed.tsx
··· 124 124 // JWT available but not needed — votes are verified via repo records 125 125 } 126 126 127 - // Use personalized next comment if available (excludes already-voted) 127 + // Use personalized next comment (excludes already-voted) 128 128 if (initData.nextComment) { 129 129 setStatement(initData.nextComment) 130 + } else { 131 + // User has voted on all statements 132 + setStatement(null) 133 + setAllVoted(true) 130 134 } 131 135 } 132 136 } catch {