Skip to content

Commit c54009a

Browse files
committed
Fix type errors
1 parent a618ff5 commit c54009a

File tree

5 files changed

+5
-7
lines changed

5 files changed

+5
-7
lines changed

src/app/(development)/workroom/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export default function WorkroomPage() {
1616
"Denis is a software architect at The Guild. He is a passionate about GraphQL and the GraphQL ecosystem.",
1717
role: "speaker",
1818
socialurls: [],
19-
year: "2025",
2019
}
2120

2221
const saihaj: SchedSpeaker = {
@@ -29,7 +28,6 @@ export default function WorkroomPage() {
2928
"I'm an engineer focused on building developer tools, infrastructure, and application solutions, while experimenting with practical AI applications. Always accelerating efficiently.",
3029
role: "speaker",
3130
socialurls: [],
32-
year: "2025",
3331
}
3432

3533
return (

src/app/conf/2025/_data.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import "server-only"
22

33
import { SchedSpeaker, ScheduleSession } from "@/app/conf/2023/types"
44

5-
const schedule: ScheduleSession[] = require("../../../../scripts/sync-sched/schedule-2025.json")
6-
const speakers: SchedSpeaker[] = require("../../../../scripts/sync-sched/speakers.json")
5+
export const schedule: ScheduleSession[] = require("../../../../scripts/sync-sched/schedule-2025.json")
6+
export const speakers: SchedSpeaker[] = require("../../../../scripts/sync-sched/speakers.json")
77

88
type SpeakerUsername = SchedSpeaker["username"]
99

src/app/conf/2025/components/speaker-tags.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Tag } from "@/app/conf/_design-system/tag"
55
import ReloadIcon from "@/app/conf/_design-system/pixelarticons/reload.svg?svgr"
66
import PlayIcon from "@/app/conf/_design-system/pixelarticons/play.svg?svgr"
77

8-
import { returningSpeakers, speakerSessions } from "../_data"
8+
import { speakerSessions } from "../_data"
99
import { eventsColors } from "../utils"
1010

1111
export function SpeakerTags({

src/app/conf/_components/speakers/speaker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export function Speaker({
1111
username,
1212
socialurls,
1313
year,
14-
}: SchedSpeaker) {
14+
}: SchedSpeaker & { year: string }) {
1515
return (
1616
<div className="flex flex-col items-center">
1717
<NextLink href={`/conf/${year}/speakers/${username}`} className="group">

tsconfig.tsbuildinfo

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)