'use client'; import { LeagueListItem } from '@/components/leagues/LeagueListItem'; import { Card } from '@/ui/Card'; import { Text } from '@/ui/Text'; import { ProfileSection } from './ProfileSection'; import React from 'react'; interface League { leagueId: string; name: string; description: string; logoUrl?: string; memberCount: number; roleLabel: string; } interface MembershipPanelProps { ownedLeagues: League[]; memberLeagues: League[]; } export function MembershipPanel({ ownedLeagues, memberLeagues }: MembershipPanelProps) { return (