fixes #38 fingers crossed this works and defaults

This commit is contained in:
thekingofjibs 2020-04-02 20:29:31 +01:00
parent c3728437b8
commit fefed06a5f

View file

@ -131,7 +131,7 @@ function MicControl() {
const state = useSelector((state: RootState) => state.mixer.mic); const state = useSelector((state: RootState) => state.mixer.mic);
const [micList, setMicList] = useState<MediaDeviceInfo[]>([]); const [micList, setMicList] = useState<MediaDeviceInfo[]>([]);
const dispatch = useDispatch(); const dispatch = useDispatch();
const [nextMicSource, setNextMicSource] = useState("None") // next mic source const [nextMicSource, setNextMicSource] = useState("default") // next mic source
const [lock, setLock] = useState(false) const [lock, setLock] = useState(false)
useEffect(()=>{ useEffect(()=>{