Skip to content

Commit

Permalink
Test cli fail
Browse files Browse the repository at this point in the history
  • Loading branch information
TrySound committed Jan 3, 2025
1 parent 5440a9e commit 042a081
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-sdk/src/component-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ export const generateJsxElement = ({
continue;
}
if (instance.component === collectionComponent) {
throw Error("fail");
if (prop.name === "data") {
collectionDataValue = propValue;
}
Expand Down

0 comments on commit 042a081

Please sign in to comment.