修复即将到来页面跳转详情页id错误

This commit is contained in:
xianyi
2026-01-15 09:41:42 +08:00
parent 1fac4d68e7
commit 622fd2b327

View File

@@ -19,9 +19,8 @@ export function UpcomingMatchCard({ match }: UpcomingMatchCardProps) {
const iconColor = isDark ? Colors.dark.icon : Colors.light.icon; const iconColor = isDark ? Colors.dark.icon : Colors.light.icon;
const cardBg = isDark ? "#1C1C1E" : "#FFFFFF"; const cardBg = isDark ? "#1C1C1E" : "#FFFFFF";
const borderColor = isDark ? "#38383A" : "#E5E5EA"; const borderColor = isDark ? "#38383A" : "#E5E5EA";
const handlePress = () => { const handlePress = () => {
router.push(`/match-detail/${match.eventKey}`); router.push(`/match-detail/${match.id}`);
}; };
// 格式化日期时间 // 格式化日期时间