Skip to content

Commit c7bf86a

Browse files
committed
💡 コメント間違えているところを修正
1 parent 3c3b6e6 commit c7bf86a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/components/SpeakerInfo.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ interface Props {
1010
speakerId: string;
1111
}
1212
13+
// 指定されたIDを元に登壇者情報を取得
1314
const { speakerId } = Astro.props;
1415
1516
const speaker = speakers.find((s) => s.id === speakerId);

src/pages/en/workshops/[id].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const currentLocale = Astro.currentLocale || "ja";
3131
// 現在のIDに対応するセッションを取得
3232
const session = sessions.at(0)?.sessions.find((s) => s.id === id);
3333
34-
// 現在のIDに対応するセッションが存在しない場合は404ページを表示
34+
// 現在のIDに対応するセッションが存在しない場合は表示しない
3535
if (!session) {
3636
return null;
3737
}

src/pages/workshops/[id].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const currentLocale = Astro.currentLocale || "ja";
3131
// 現在のIDに対応するセッションを取得
3232
const session = sessions.at(0)?.sessions.find((s) => s.id === id);
3333
34-
// 現在のIDに対応するセッションが存在しない場合は404ページを表示
34+
// 現在のIDに対応するセッションが存在しない場合は表示しない
3535
if (!session) {
3636
return null;
3737
}

0 commit comments

Comments
 (0)