diff --git a/frontend/src/components/MatchHistory.tsx b/frontend/src/components/MatchHistory.tsx index b03c6d5..5d0b8f3 100644 --- a/frontend/src/components/MatchHistory.tsx +++ b/frontend/src/components/MatchHistory.tsx @@ -13,14 +13,38 @@ export function MatchHistory({ items, userId, detail, + hasMore = false, + loadingMore = false, + onMore, }: { items: MatchListItem[]; userId: number; detail: string; + hasMore?: boolean; + loadingMore?: boolean; + onMore?: () => void; }) { const navigate = useNavigate(); + + const more = hasMore && onMore && ( + + ); + if (items.length === 0) return