Skip to content

Commit 58540ac

Browse files
committed
Add proposals and votes number to stats
1 parent b7b7527 commit 58540ac

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

web/pages/stats.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ export default function Stats() {
1919
'private_user_messages',
2020
'profile_comments',
2121
'love_compatibility_answers',
22+
'votes',
23+
'vote_results',
2224
] as const
2325

2426
const settled = await Promise.allSettled(
@@ -58,6 +60,8 @@ export default function Stats() {
5860
{!!data.bookmarked_searches && <StatBox value={data.bookmarked_searches} label={'Searches Bookmarked'} />}
5961
{!!data.profile_comments && <StatBox value={data.profile_comments} label={'Endorsements'} />}
6062
{!!data.love_compatibility_answers && <StatBox value={data.love_compatibility_answers} label={'Prompts Answered'} />}
63+
{!!data.votes && <StatBox value={data.votes} label={'Proposals'} />}
64+
{!!data.vote_results && <StatBox value={data.vote_results} label={'Votes'} />}
6165
</Col>
6266
</Col>
6367
</LovePage>

0 commit comments

Comments
 (0)