diff --git a/packages/codegen-ui-react/lib/react-studio-template-renderer.ts b/packages/codegen-ui-react/lib/react-studio-template-renderer.ts index ca910d696..f8970fd75 100644 --- a/packages/codegen-ui-react/lib/react-studio-template-renderer.ts +++ b/packages/codegen-ui-react/lib/react-studio-template-renderer.ts @@ -175,7 +175,12 @@ export abstract class ReactStudioTemplateRenderer extends StudioTemplateRenderer false, ); - return { compText, importsText, requiredDataModels: this.componentMetadata.requiredDataModels }; + return { + compText, + importsText, + requiredDataModels: this.componentMetadata.requiredDataModels, + importCollection: this.importCollection, + }; } renderComponentInternal() {