Skip to content

Conversation

@abbeyhrt
Copy link
Contributor

@abbeyhrt abbeyhrt commented Jul 12, 2022

Closes #11590

When I refactored ComposedModal to a function, I accidentally left in the default export meaning that the class component is still what was being shipped (🤦‍♀️ ) This PR removes the default export and updates src/index.js so that the correct functional component is being exported.

Testing / Reviewing

Verify that CI passes and ComposedModal functions as intended

@abbeyhrt abbeyhrt requested review from a team as code owners July 12, 2022 21:16
@abbeyhrt abbeyhrt changed the title fix(react): remove default export fix(react): remove default export from composed modal Jul 12, 2022
@netlify
Copy link

netlify bot commented Jul 12, 2022

Deploy Preview for carbon-components-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 678c86f
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-react/deploys/62d037eba22d390008b09e25
😎 Deploy Preview https://deploy-preview-11792--carbon-components-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Jul 12, 2022

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 678c86f
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/62d037eafa3a1e0008e1f09d
😎 Deploy Preview https://deploy-preview-11792--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Contributor

@aledavila aledavila left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛳

@kodiakhq kodiakhq bot merged commit 6aa84ec into carbon-design-system:main Jul 14, 2022
kennylam pushed a commit to kennylam/carbon that referenced this pull request Jul 30, 2024
…gn-system#11792)

* fix(tearsheet): import modal and separate nested selectors

* fix(tearsheet): codesandbox example

* Update packages/carbon-web-components/examples/codesandbox/basic/components/tearsheet/index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[Bug]: Composed Modal onClose not working correctly

3 participants