diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c294031b6..6583b9c2d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - Fix build on Windows @jurokapsiar ([#383](https://github.com/stardust-ui/react/pull/383)) - Add warning for rendering components outside provider @Bugaa92 ([#378](https://github.com/stardust-ui/react/pull/378)) - Fix icon colors for Teams theme @codepretty ([#384](https://github.com/stardust-ui/react/pull/384)) +- Do not render the Attachment's `progress` value to the DOM @levithomason ([#402](https://github.com/stardust-ui/react/pull/402)) ### Features - Export `mergeThemes` @levithomason ([#285](https://github.com/stardust-ui/react/pull/285)) diff --git a/src/components/Attachment/Attachment.tsx b/src/components/Attachment/Attachment.tsx index 6b938d120d..85aac7e63f 100644 --- a/src/components/Attachment/Attachment.tsx +++ b/src/components/Attachment/Attachment.tsx @@ -162,7 +162,7 @@ class Attachment extends UIComponent, any> { )} {!_.isNil(progress) && - createHTMLDivision(progress, { + createHTMLDivision('', { defaultProps: { className: classes.progress }, render: renderProgress, })}