Skip to content

Commit

Permalink
chore: return importCollection in renderComponentOnly (#825)
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Shih <jushih@amazon.com>
  • Loading branch information
2 people authored and Scott Young committed Dec 9, 2022
1 parent f3fb0f1 commit b40bb12
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit b40bb12

Please sign in to comment.