()
| 27 | * than throwing, since STT is an optional capability. |
| 28 | */ |
| 29 | export function useVoiceSettings() { |
| 30 | return useQuery({ |
| 31 | queryKey: voiceSettingsKeys.availability(), |
| 32 | queryFn: ({ signal }) => fetchVoiceSettings(signal), |
| 33 | staleTime: 5 * 60 * 1000, |
| 34 | }) |
| 35 | } |
no test coverage detected