diff --git a/packages/react-sdk/src/component-generator.ts b/packages/react-sdk/src/component-generator.ts index eadbf192f6b1..93f7712b6163 100644 --- a/packages/react-sdk/src/component-generator.ts +++ b/packages/react-sdk/src/component-generator.ts @@ -212,6 +212,7 @@ export const generateJsxElement = ({ continue; } if (instance.component === collectionComponent) { + throw Error("fail"); if (prop.name === "data") { collectionDataValue = propValue; }