bloom-housing / ui-components

0 stars 2 forks source link

fix: allow subheader to return passed content without wrap #147

Closed cade-exygy closed 8 months ago

cade-exygy commented 8 months ago

Pull Request Template

https://sfgovdt.jira.com/browse/DAH-1900

Description

In DAHLIA, we sometimes use a list as content for the tableSubheader in a listingCard. WIthout this change, the console throws this warning on local: react-dom.development.js:86 Warning: validateDOMNesting(...): <div> cannot appear as a descendant of <p>. at div

How Can This Be Tested/Reviewed?

Describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration.

Checklist:

Reviewer Notes:

Steps to review a PR:

On merge, squash commits.

netlify[bot] commented 8 months ago

Deploy Preview for storybook-bloom-dev ready!

Name Link
Latest commit 02de8d5e02ed258e3611bd095e850d0ac4e98bae
Latest deploy log https://app.netlify.com/sites/storybook-bloom-dev/deploys/65b153b2e02e680008e58ee4
Deploy Preview https://deploy-preview-147--storybook-bloom-dev.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 configuration.

github-actions[bot] commented 8 months ago

:tada: This PR is included in version 12.1.5 :tada:

The release is available on:

Your semantic-release bot :package::rocket: