Skip to content

Commit 5d4cc0f

Browse files
committed
Rename title component secondary text prop
1 parent e404504 commit 5d4cc0f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

dotcom-rendering/src/components/Lineups.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const Lineups = ({ matchStats }: Props) => {
6868
>
6969
<Title
7070
text="Lineups"
71-
label="Coming soon"
71+
secondaryText="Coming soon"
7272
id={lineupSectionId}
7373
/>
7474
<PlayerListPlaceholder />
@@ -118,11 +118,11 @@ const Event = ({
118118

119119
const Title = ({
120120
text,
121-
label,
121+
secondaryText,
122122
id,
123123
}: {
124124
text: string;
125-
label?: string;
125+
secondaryText?: string;
126126
id: string;
127127
}) => (
128128
<h3
@@ -136,14 +136,14 @@ const Title = ({
136136
`}
137137
>
138138
{text}
139-
{!!label && (
139+
{!!secondaryText && (
140140
<span
141141
css={css`
142142
font-weight: 400;
143143
`}
144144
>
145145
{' '}
146-
{label}
146+
{secondaryText}
147147
</span>
148148
)}
149149
</h3>

0 commit comments

Comments
 (0)