Skip to content

Commit

Permalink
add fallback text for microphone selector in firefox browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
MarconLP committed Jul 9, 2023
1 parent 8053659 commit fd5179a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Recorder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ export default function Recorder({ closeModal, step, setStep }: Props) {
/>
<span className="block truncate">
{selectedDevice?.label ?? "No device selected"}
{selectedDevice?.label === "" ? "Enabled" : null}
</span>
<span className="pointer-events-none absolute inset-y-0 right-0 flex items-center pr-2">
<ChevronUpDownIcon
Expand Down

1 comment on commit fd5179a

@vercel
Copy link

@vercel vercel bot commented on fd5179a Jul 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.