Skip to content

Commit d9d338d

Browse files
fix football table tsc errors from merge into main (#13697)
1 parent 5841584 commit d9d338d

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

dotcom-rendering/src/components/FootballTablesPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export const FootballTablesPage = ({
109109
}
110110
`}
111111
>
112-
<AdSlot position="right-football" />
112+
<AdSlot position="football-right" />
113113
</div>
114114
)}
115115
</main>

dotcom-rendering/src/footballTables.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
import type { TeamScore } from './footballMatches';
1+
export type TeamResultScore = {
2+
name: string;
3+
score: number;
4+
};
25

36
export type TeamResult = {
47
id: string;
5-
self: TeamScore;
6-
foe: TeamScore;
8+
self: TeamResultScore;
9+
foe: TeamResultScore;
710
};
811

912
export type FootballTableCompetition = {

0 commit comments

Comments
 (0)