update pay function

This commit is contained in:
2025-11-23 23:00:25 +08:00
parent ce2226793f
commit 69d05b664e

View File

@@ -467,13 +467,15 @@ const PredictionTopicDetail = () => {
<Text color={forumColors.text.secondary}>参与人数</Text>
<HStack spacing="1">
<Icon as={Users} boxSize="14px" />
<Text fontWeight="600">{topic.stats.unique_traders.size}</Text>
<Text fontWeight="600">{topic.participants_count || 0}</Text>
</HStack>
</HStack>
<HStack justify="space-between" fontSize="sm">
<Text color={forumColors.text.secondary}>总交易量</Text>
<Text fontWeight="600">{Math.round(topic.stats.total_volume)}</Text>
<Text fontWeight="600">
{Math.round((topic.yes_total_shares || 0) + (topic.no_total_shares || 0))}
</Text>
</HStack>
</VStack>
</Box>