agora-appbuilder-core 4.0.0-spl.7 → 4.0.0-spl.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -455,7 +455,7 @@ const DeviceConfigure: React.FC<Props> = (props: any) => {
|
|
|
455
455
|
log(logTag, 'Empty device list');
|
|
456
456
|
refreshDeviceList();
|
|
457
457
|
}
|
|
458
|
-
}, [rtc, store]);
|
|
458
|
+
}, [rtc, store, deviceList]);
|
|
459
459
|
|
|
460
460
|
const commonOnChangedEvent = async (changedDeviceData: DeviceInfo) => {
|
|
461
461
|
// Extracted devicelist because we want to perform fallback with
|
|
@@ -620,7 +620,7 @@ const DeviceConfigure: React.FC<Props> = (props: any) => {
|
|
|
620
620
|
return new Promise<void>((res, rej) => {
|
|
621
621
|
if (mutexRef.current) {
|
|
622
622
|
const e = new Error(logtag + ' Change already in progress');
|
|
623
|
-
|
|
623
|
+
log('DeviceConfigure:', logtag, 'Error setting', kind, e);
|
|
624
624
|
rej(e);
|
|
625
625
|
return;
|
|
626
626
|
}
|