Skip to content

Commit 7fd6aec

Browse files
committed
Fix Prettier
1 parent 515d770 commit 7fd6aec

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

packages/api/src/hooks/internal/useVoiceHandlers.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@ import { useSelector } from './WebChatReduxContext';
55
* Internal hook to get all registered voice handlers from Redux state.
66
*/
77
export default function useVoiceHandlers(): readonly [ReadonlyMap<string, VoiceHandler>] {
8-
return Object.freeze([useSelector((state: { voice: { voiceHandlers: Map<string, VoiceHandler> } }) => state.voice.voiceHandlers)]);
8+
return Object.freeze([
9+
useSelector((state: { voice: { voiceHandlers: Map<string, VoiceHandler> } }) => state.voice.voiceHandlers)
10+
]);
911
}

packages/api/src/providers/SpeechToSpeech/private/useAudioPlayer.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,11 @@ export function useAudioPlayer() {
8282
}, []);
8383

8484
return useMemo(
85-
() => Object.freeze({
86-
queueAudio,
87-
stopAllAudio
88-
}),
85+
() =>
86+
Object.freeze({
87+
queueAudio,
88+
stopAllAudio
89+
}),
8990
[queueAudio, stopAllAudio]
9091
);
9192
}

0 commit comments

Comments
 (0)