Throw error instead of selecting master output.

This commit is contained in:
Matthew Stratford 2020-09-20 18:57:40 +01:00
parent 329b25a849
commit f3ae3fdb19

View file

@ -78,7 +78,7 @@ export function Player({ id }: { id: number }) {
case 2: case 2:
return "player-2"; return "player-2";
default: default:
return "master"; throw new Error("Unknown Player VUMeter source: " + id);
} }
}; };
return ( return (