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
Jshhhh and Justin Shih authored Dec 8, 2022
1 parent 81c0d76 commit 3530c45
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 3530c45

Please sign in to comment.