diff --git a/src/features/MatchCard/CardFinished/index.tsx b/src/features/MatchCard/CardFinished/index.tsx
index f6ded47a..dd77f780 100644
--- a/src/features/MatchCard/CardFinished/index.tsx
+++ b/src/features/MatchCard/CardFinished/index.tsx
@@ -33,7 +33,7 @@ type CardFinishedProps = {
export const CardFinished = ({
match: {
- date,
+ id,
preview,
sportName,
sportType,
@@ -52,7 +52,15 @@ export const CardFinished = ({
showScore,
} = useCard()
- if (isOpen) return
+ if (isOpen) {
+ return (
+
+ )
+ }
return (
void,
+ sportName: string,
}
-export const CardFinishedHover = ({ onClose }: CardFinishedHoverProps) => (
+export const CardFinishedHover = ({
+ id,
+ onClose,
+ sportName,
+}: CardFinishedHoverProps) => (
-
+
+
+
diff --git a/src/features/MatchCard/CardLive/index.tsx b/src/features/MatchCard/CardLive/index.tsx
index 9c086aaa..deb61471 100644
--- a/src/features/MatchCard/CardLive/index.tsx
+++ b/src/features/MatchCard/CardLive/index.tsx
@@ -33,7 +33,6 @@ type CardLiveProps = {
export const CardLive = ({
match: {
- date,
id,
preview,
sportName,
@@ -53,7 +52,15 @@ export const CardLive = ({
showScore,
} = useCard()
- if (isOpen) return
+ if (isOpen) {
+ return (
+
+ )
+ }
return (
void,
+ sportName: string,
}
const stopProp = (e: MouseEvent) => {
e.stopPropagation()
}
-export const CardLiveHover = ({ onClose }: CardLiveHoverProps) => (
+export const CardLiveHover = ({
+ id,
+ onClose,
+ sportName,
+}: CardLiveHoverProps) => (
-
-
+
+
+
+
+
+
-
+
+
+