import { T9n } from 'features/T9n' import { ProfileTypes } from 'config' import { Wrapper } from 'features/PreferencesPopup/styled' import { ScItem, ScBody, ScList, ScHeaderTitle, ScTournamentList, ScModalContainer, StyledLink, } from './styled' import { useTournamentPopupStore } from './store' import { Loader } from '../Loader' import { LoaderWrapper } from '../StreamPlayer/styled' export const TournamentsPopup = () => { const { close, isFetching, isOpen, teams, tournaments, } = useTournamentPopupStore() return ( { isFetching ? ( ) : ( <> {tournaments.map((tournament) => ( ))} {teams.map((team) => ( ))} ) } ) }