You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
spa_instat_tv/src/features/TournamentPage/index.tsx

32 lines
742 B

import React from 'react'
import { ProfileTypes } from 'config'
import { UserFavorites } from 'features/UserFavorites'
import { ProfileCard } from 'features/ProfileCard'
import { Matches } from 'features/Matches'
import { UserFavoritesStore } from 'features/UserFavorites/store'
import { useTournamentPage } from './hooks'
import { Content } from './styled'
export const TournamentPage = () => {
const {
infoItems,
name,
} = useTournamentPage()
return (
<UserFavoritesStore>
<UserFavorites />
<Content>
<ProfileCard
profileType={ProfileTypes.TOURNAMENTS}
name={name}
infoItems={infoItems}
/>
<Matches />
</Content>
</UserFavoritesStore>
)
}