There was an error while loading. Please reload this page.
1 parent 7524cea commit a9bfe26Copy full SHA for a9bfe26
1 file changed
src/compositions/AcceptedBets/components/BetCard/BetCard.tsx
@@ -54,7 +54,11 @@ const BetCard: React.FC<BetCardProps> = ({ bet }) => {
54
</div>
55
<div className="bg-bg-l2 py-2 px-3">
56
<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} />
+ {
58
+ Boolean(outcomes[0].game) && (
59
+ <Icon className="size-4 mr-2" name={`sport/${outcomes[0].game.sport.slug}` as IconName} />
60
+ )
61
+ }
62
{
63
isCombo ? (
64
<>
0 commit comments