We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a19eff commit c6cdaedCopy full SHA for c6cdaed
apps/dashboard/src/AuthSwitcher/Dashboard/Pages/VoiceLibrary/VoiceLibrarySearch.tsx
@@ -174,7 +174,9 @@ const GenderSelect: React.FC<GenderSelectProps> = ({
174
let accentList = [
175
VOICE_GENDERS.Male,
176
VOICE_GENDERS.Female,
177
- ...voices?.filter((voices) => voices.gender).map((voices) => voices.gender),
+ ...(voices
178
+ ?.filter((voices) => voices.gender)
179
+ ?.map((voices) => voices.gender) ?? []),
180
];
181
if (provider === VOICE_PROVIDERS.ELEVEN_LABS) {
182
accentList.push(VOICE_GENDERS.Neutral);
0 commit comments