diff --git a/src/features/MatchPage/index.tsx b/src/features/MatchPage/index.tsx index 138f1630..5d376495 100644 --- a/src/features/MatchPage/index.tsx +++ b/src/features/MatchPage/index.tsx @@ -10,7 +10,7 @@ import { Wrapper } from './styled' const MatchPage = () => { const profile = useMatchProfile() - const isLiveMatch = !profile?.calc + const isLiveMatch = profile?.live return ( diff --git a/src/requests/getMatchInfo.tsx b/src/requests/getMatchInfo.tsx index 72ad90f4..0715eb5a 100644 --- a/src/requests/getMatchInfo.tsx +++ b/src/requests/getMatchInfo.tsx @@ -5,8 +5,6 @@ import { import { callApi } from 'helpers' -import { MatchStatuses } from 'features/HeaderFilters' - const proc = PROCEDURES.get_match_info type Team = { @@ -19,7 +17,7 @@ type Team = { export type MatchInfo = { calc: boolean, date: string, - stream_status: MatchStatuses, + live: boolean, team1: Team, team2: Team, tournament: {