修复即将到来页面跳转详情页id错误
This commit is contained in:
@@ -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}`);
|
||||||
};
|
};
|
||||||
|
|
||||||
// 格式化日期时间
|
// 格式化日期时间
|
||||||
|
|||||||
Reference in New Issue
Block a user