Skip to content

Commit 3562eb0

Browse files
authored
chore: prettier (graphql#1768)
1 parent 81c16a2 commit 3562eb0

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

src/app/conf/_components/schedule/schedule-list.tsx

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -147,15 +147,17 @@ export function ScheduleList({
147147
<>
148148
<div className="flex space-x-4 mb-4">
149149
{/* Skip registeration prior day for graphql conf 2024 */}
150-
{Object.keys(sessionsState).slice(year === '2024' ? 1 : 0).map((date, index) => (
151-
<a
152-
href={`#day-${(year === '2024' ? 1: 0) + index + 1}`}
153-
key={date}
154-
className={"text-gray-800 text-xs hover:underline"}
155-
>
156-
Day {index + 1}
157-
</a>
158-
))}
150+
{Object.keys(sessionsState)
151+
.slice(year === "2024" ? 1 : 0)
152+
.map((date, index) => (
153+
<a
154+
href={`#day-${(year === "2024" ? 1 : 0) + index + 1}`}
155+
key={date}
156+
className={"text-gray-800 text-xs hover:underline"}
157+
>
158+
Day {index + 1}
159+
</a>
160+
))}
159161
</div>
160162
{Object.entries(sessionsState).map(
161163
([date, concurrentSessionsGroup], index) => (

0 commit comments

Comments
 (0)