@@ -21,8 +21,7 @@ export function getFeedPoolStats(poolPage: PoolProposalPageDto) {
2121 poolPage . upvoteFloor > 0 ? poolPage . upvotes / poolPage . upvoteFloor : 0 ,
2222 ) * upvoteFloorFractionPercent ,
2323 ) ;
24- const meetsAttention =
25- engaged / activeGovernors >= poolPage . attentionQuorum ;
24+ const meetsAttention = engaged / activeGovernors >= poolPage . attentionQuorum ;
2625 const meetsUpvoteFloor = poolPage . upvotes >= poolPage . upvoteFloor ;
2726 const engagedNeeded = Math . ceil ( poolPage . attentionQuorum * activeGovernors ) ;
2827
@@ -48,9 +47,7 @@ export function getFeedChamberStats(chamberPage: ChamberProposalPageDto) {
4847 const totalVotes = yesTotal + noTotal + abstainTotal ;
4948
5049 const engaged = chamberPage . engagedGovernors ;
51- const quorumNeeded = Math . ceil (
52- activeGovernors * chamberPage . attentionQuorum ,
53- ) ;
50+ const quorumNeeded = Math . ceil ( activeGovernors * chamberPage . attentionQuorum ) ;
5451 const quorumPercent = Math . round ( ( engaged / activeGovernors ) * 100 ) ;
5552 const quorumNeededPercent = Math . round ( chamberPage . attentionQuorum * 100 ) ;
5653 const yesPercentOfQuorum =
@@ -82,9 +79,7 @@ export function getFeedChamberStats(chamberPage: ChamberProposalPageDto) {
8279 } ;
8380}
8481
85- export function getFeedFormationStats (
86- formationPage : FormationProposalPageDto ,
87- ) {
82+ export function getFeedFormationStats ( formationPage : FormationProposalPageDto ) {
8883 const progressRaw = Number . parseInt (
8984 formationPage . progress . replace ( "%" , "" ) ,
9085 10 ,
0 commit comments