Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
inker committed Jul 3, 2024
1 parent c503962 commit aea7d56
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/pages/cl/ls/MatchesTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const Table = styled.table`
`;

const HeaderCell = styled.th<{
hovered?: boolean;
$hovered?: boolean;
}>`
vertical-align: bottom;
padding: 3px 1px;
Expand All @@ -23,7 +23,7 @@ const HeaderCell = styled.th<{
}
${props =>
props.hovered &&
props.$hovered &&
css`
background-color: rgba(0 0 0 / 0.1);
`}
Expand Down Expand Up @@ -79,8 +79,8 @@ const AppearLight = keyframes`
`;

const TableCell = styled.td<{
isMatch?: boolean;
hovered?: boolean;
$isMatch?: boolean;
$hovered?: boolean;
}>`
border: 1px solid rgb(192 192 192);
text-align: center;
Expand All @@ -90,7 +90,7 @@ const TableCell = styled.td<{
}
${props =>
props.isMatch &&
props.$isMatch &&
css`
animation: ${AppearLight} 3s ease-out normal forwards;
Expand All @@ -100,7 +100,7 @@ const TableCell = styled.td<{
`}
${props =>
props.hovered &&
props.$hovered &&
css`
background-color: rgba(0 0 0 / 0.1);
`}
Expand Down Expand Up @@ -181,7 +181,7 @@ function MatchesTable({ allTeams, pairings }: Props) {
<HeaderCell
key={opponent.id}
data-opponent={opponent.id}
hovered={opponent.id === hoverColumn}
$hovered={opponent.id === hoverColumn}
>
<HeaderCellDiv>
<img
Expand All @@ -206,8 +206,8 @@ function MatchesTable({ allTeams, pairings }: Props) {
<TableCell
key={opponent.id}
data-opponent={opponent.id}
isMatch={isMatch}
hovered={opponent.id === hoverColumn}
$isMatch={isMatch}
$hovered={opponent.id === hoverColumn}
/>
);
})}
Expand Down

0 comments on commit aea7d56

Please sign in to comment.