Fix improper component nesting

Next doesn't allow block elements inside a `<p>`
This commit is contained in:
Marcus Blättermann 2022-11-17 16:32:42 +01:00
parent 568afe0cb7
commit dccbad418f
No known key found for this signature in database
GPG Key ID: A1E1F04008AC450D

View File

@ -130,7 +130,7 @@ export const LandingBanner = ({
</Heading>
)}
<div className={textClassNames}>
<p>{children}</p>
<div>{children}</div>
{button && (
<LandingBannerButton to={to} small={small}>