Fix styling

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-07-09 14:19:27 +02:00
parent dbc37675a0
commit 96100ffaf3
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 1 additions and 4 deletions

View File

@ -33,10 +33,7 @@ const getDefaultDevice = (devices: Array<Partial<MediaDeviceInfo>>) => {
// with deviceId == the empty string: this is because Chrome gives us a device
// with deviceId 'default', so we're looking for this, not the one we are adding.
if (!devices.some((i) => i.deviceId === 'default')) {
devices.unshift({
deviceId: '',
label: _t('Default Device'),
});
devices.unshift({ deviceId: '', label: _t('Default Device') });
return '';
} else {
return 'default';