Skip to content

Commit a9bfe26

Browse files
committed
fix link
1 parent 7524cea commit a9bfe26

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • src/compositions/AcceptedBets/components/BetCard

src/compositions/AcceptedBets/components/BetCard/BetCard.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,11 @@ const BetCard: React.FC<BetCardProps> = ({ bet }) => {
5454
</div>
5555
<div className="bg-bg-l2 py-2 px-3">
5656
<div className="flex items-center text-caption-12 font-medium text-grey-60">
57-
<Icon className="size-4 mr-2" name={`sport/${outcomes[0].game.sport.slug}` as IconName} />
57+
{
58+
Boolean(outcomes[0].game) && (
59+
<Icon className="size-4 mr-2" name={`sport/${outcomes[0].game.sport.slug}` as IconName} />
60+
)
61+
}
5862
{
5963
isCombo ? (
6064
<>

0 commit comments

Comments
 (0)