Skip to content

Commit c2a320d

Browse files
committed
フォーマット
1 parent b90fe42 commit c2a320d

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

frontend/src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default function TopPage() {
6464
setShowExplosion(true);
6565

6666
const audio = new Audio('/sounds/start-se.mp3');
67-
audio.play().catch(() => { });
67+
audio.play().catch(() => {});
6868

6969
setTimeout(() => {
7070
router.push('/games/terms');

frontend/src/features/games/helpdesk/hooks/useHelpdeskGame.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)