From ccf38e76aff1ca347b4f465284b6dda7d85289e0 Mon Sep 17 00:00:00 2001 From: 1nayu Date: Wed, 30 Oct 2024 09:43:25 +0900 Subject: [PATCH 01/11] fix: show sportIcon in matchCard --- components/match/matchCard.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/match/matchCard.tsx b/components/match/matchCard.tsx index 85b6176..85e0ee0 100644 --- a/components/match/matchCard.tsx +++ b/components/match/matchCard.tsx @@ -47,7 +47,10 @@ export default async function MatchCard(props: MatchCardProps) { } + avatar={ + + {!sport.iconId && } + } /> From 1ca2404348a59220831af1a019d3c1188b8e33de Mon Sep 17 00:00:00 2001 From: 1nayu Date: Wed, 30 Oct 2024 09:47:20 +0900 Subject: [PATCH 02/11] fix: link in informationList --- components/information/informationList.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/components/information/informationList.tsx b/components/information/informationList.tsx index 1467617..c5df24a 100644 --- a/components/information/informationList.tsx +++ b/components/information/informationList.tsx @@ -2,6 +2,7 @@ import {Information} from "@/src/models/InformationModel"; import {Stack, Typography, IconButton, Button} from "@mui/material"; import {HiOutlineInformationCircle} from "react-icons/hi"; import React from "react"; +import NextLink from "next/link"; export type InformationListProps = { informationList: Information[] @@ -10,7 +11,12 @@ export type InformationListProps = { export default function InformationList(props: InformationListProps) { const list = props.informationList.map((information) => { return ( -