Skip to content

Commit 230ecbc

Browse files
committed
Fix linting
1 parent 9f21c9d commit 230ecbc

2 files changed

Lines changed: 12 additions & 9 deletions

File tree

next-frontend/src/components/live/ConnectionPulse.tsx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,22 @@ export default function ConnectionPulse({
2525

2626
return (
2727
<Status.Root colorPalette={connectionColor} display="inline-flex">
28-
<Tooltip content={t(
28+
<Tooltip
29+
content={t(
2930
`competitions.live.connection.${CONNECTION_TRANSLATION_KEYS[connectionState]}`,
3031
)}
3132
showArrow
3233
openDelay={200}
3334
>
34-
<Badge
35-
variant="solid"
36-
display="inline-flex"
37-
gap={2}
38-
size="sm"
39-
>
35+
<Badge variant="solid" display="inline-flex" gap={2} size="sm">
4036
<Box
4137
boxSize={{ base: "1.5", sm: "2" }}
4238
borderRadius="full"
4339
bg="colorPalette.contrast"
4440
animationName={
45-
connectionState === CONNECTION_STATE_CONNECTED ? "pulse" : undefined
41+
connectionState === CONNECTION_STATE_CONNECTED
42+
? "pulse"
43+
: undefined
4644
}
4745
animationDuration="1.5s"
4846
animationTimingFunction="ease-in-out"

next-frontend/src/components/live/LiveUpdatingResultsTable.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,12 @@ export default function LiveUpdatingResultsTable({
5656
return (
5757
<VStack align="left">
5858
<HStack>
59-
<Heading textStyle={{ sm: "h3", md: "h2", lg: "h1" }} textTransform="uppercase">{title}</Heading>
59+
<Heading
60+
textStyle={{ sm: "h3", md: "h2", lg: "h1" }}
61+
textTransform="uppercase"
62+
>
63+
{title}
64+
</Heading>
6065
<Spacer flex={1} />
6166
<ConnectionPulse connectionState={connectionState} />
6267
{isLinkedRound && (

0 commit comments

Comments
 (0)