File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ interface Props {
1010 speakerId: string ;
1111}
1212
13+ // 指定されたIDを元に登壇者情報を取得
1314const { speakerId } = Astro .props ;
1415
1516const speaker = speakers .find ((s ) => s .id === speakerId );
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const currentLocale = Astro.currentLocale || "ja";
3131// 現在のIDに対応するセッションを取得
3232const session = sessions .at (0 )?.sessions .find ((s ) => s .id === id );
3333
34- // 現在のIDに対応するセッションが存在しない場合は404ページを表示
34+ // 現在のIDに対応するセッションが存在しない場合は表示しない
3535if (! session ) {
3636 return null ;
3737}
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const currentLocale = Astro.currentLocale || "ja";
3131// 現在のIDに対応するセッションを取得
3232const session = sessions .at (0 )?.sessions .find ((s ) => s .id === id );
3333
34- // 現在のIDに対応するセッションが存在しない場合は404ページを表示
34+ // 現在のIDに対応するセッションが存在しない場合は表示しない
3535if (! session ) {
3636 return null ;
3737}
You can’t perform that action at this time.
0 commit comments