doing it better

This commit is contained in:
Ben Allen 2020-03-28 01:30:24 +00:00
parent f39a9d2232
commit d3a80134fb

View file

@ -291,7 +291,18 @@ function LibraryColumn() {
function MicControl() {
const state = useSelector((state: RootState) => state.mixer.mic);
const [gotMicList, setGotMicList] = useState(false);
const dispatch = useDispatch();
if (gotMicList == false){
console.log(navigator.mediaDevices.enumerateDevices())
setGotMicList(true)
}
function reduceToInputs(){
}
return (
<div className="sp-col" style={{ height: "48%", overflowY: "visible" }}>
<h2>Microphone</h2>