agora-appbuilder-core 4.0.0-spl.18 → 4.0.0-spl.19
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
|
@@ -300,15 +300,16 @@ const Precall = (props: any) => {
|
|
|
300
300
|
|
|
301
301
|
const FpePrecallComponent = useCustomization((data) => {
|
|
302
302
|
// commented for v1 release
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
303
|
+
if (
|
|
304
|
+
data?.components?.precall &&
|
|
305
|
+
typeof data?.components?.precall !== 'object' &&
|
|
306
|
+
isSDK
|
|
307
|
+
) {
|
|
308
|
+
if (isValidReactComponent(data?.components?.precall)) {
|
|
309
|
+
return data?.components?.precall;
|
|
310
|
+
}
|
|
311
|
+
return undefined;
|
|
312
|
+
}
|
|
312
313
|
return undefined;
|
|
313
314
|
});
|
|
314
315
|
|