File tree Expand file tree Collapse file tree
JavaScript/2629. Function Composition/Claude Code Sonnet 4.6 extended Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1162,11 +1162,6 @@ <h3 class="text-lg font-bold text-[#e53170] mb-3">入出力例</h3>
11621162
11631163 useEffect ( ( ) => {
11641164 if ( isPlaying ) {
1165- if ( activeStep > stepsData . length ) {
1166- setIsPlaying ( false ) ;
1167- setActiveStep ( 1 ) ;
1168- return ;
1169- }
11701165 timerRef . current = setTimeout ( ( ) => {
11711166 if ( activeStep === stepsData . length ) {
11721167 setActiveStep ( 1 ) ;
@@ -1237,7 +1232,11 @@ <h3 className="text-lg font-bold text-[#e53170] mb-4">ステップ一覧</h3>
12371232
12381233 { /* Right: visualization */ }
12391234 < div >
1240- < div className = "rounded-2xl p-5 border border-[#e53170]/20 bg-[#0f0e17]" >
1235+ < div
1236+ className = "rounded-2xl p-5 border border-[#e53170]/20 bg-[#0f0e17]"
1237+ aria-live = "polite"
1238+ aria-atomic = "true"
1239+ >
12411240 < div className = "text-[#e53170] mono text-xs font-semibold mb-1" >
12421241 Step { current . step } / { stepsData . length }
12431242 </ div >
You can’t perform that action at this time.
0 commit comments