@@ -227,12 +227,12 @@ export function useHelpdeskGame(options: {
227227 const hasTextTurn = currentTurns . some ( ( t ) => t . inputMethod === 'text' ) ;
228228 const textInputMetrics : TextInputMetrics | null = hasTextTurn
229229 ? {
230- typingIntervalVariance :
231- typingVariancesRef . current . length > 0
232- ? typingVariancesRef . current . reduce ( ( a , b ) => a + b , 0 ) /
233- typingVariancesRef . current . length
234- : 0 ,
235- }
230+ typingIntervalVariance :
231+ typingVariancesRef . current . length > 0
232+ ? typingVariancesRef . current . reduce ( ( a , b ) => a + b , 0 ) /
233+ typingVariancesRef . current . length
234+ : 0 ,
235+ }
236236 : null ;
237237 const game2Data : Game2Data = {
238238 inputMethod : inputMethodRef . current ,
@@ -245,7 +245,7 @@ export function useHelpdeskGame(options: {
245245
246246 // 電話終了音
247247 if ( hangupAudioRef . current ) {
248- hangupAudioRef . current . play ( ) . catch ( ( ) => { } ) ;
248+ hangupAudioRef . current . play ( ) . catch ( ( ) => { } ) ;
249249 }
250250 } , [ onComplete ] ) ;
251251
@@ -556,7 +556,7 @@ export function useHelpdeskGame(options: {
556556 const silentAudio = new Audio ( ) ;
557557 silentAudio . src =
558558 'data:audio/wav;base64,UklGRigAAABXQVZFRm10IBAAAAABAAEARKwAAIhYAQACABAAZGF0YQAAAAA=' ;
559- silentAudio . play ( ) . catch ( ( ) => { } ) ;
559+ silentAudio . play ( ) . catch ( ( ) => { } ) ;
560560
561561 // マイクの事前許可を求める
562562 try {
@@ -578,7 +578,7 @@ export function useHelpdeskGame(options: {
578578
579579 // 電話呼び出し音を開始
580580 if ( callingAudioRef . current ) {
581- callingAudioRef . current . play ( ) . catch ( ( ) => { } ) ;
581+ callingAudioRef . current . play ( ) . catch ( ( ) => { } ) ;
582582 }
583583 } , [ gamePhase ] ) ;
584584
0 commit comments