Fix styling

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Š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

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 == 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. // with deviceId 'default', so we're looking for this, not the one we are adding.
if (!devices.some((i) => i.deviceId === 'default')) { if (!devices.some((i) => i.deviceId === 'default')) {
devices.unshift({ devices.unshift({ deviceId: '', label: _t('Default Device') });
deviceId: '',
label: _t('Default Device'),
});
return ''; return '';
} else { } else {
return 'default'; return 'default';