mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-07 13:44:55 +03:00
Fix improper component nesting
Next doesn't allow block elements inside a `<p>`
This commit is contained in:
parent
568afe0cb7
commit
dccbad418f
|
@ -130,7 +130,7 @@ export const LandingBanner = ({
|
|||
</Heading>
|
||||
)}
|
||||
<div className={textClassNames}>
|
||||
<p>{children}</p>
|
||||
<div>{children}</div>
|
||||
|
||||
{button && (
|
||||
<LandingBannerButton to={to} small={small}>
|
||||
|
|
Loading…
Reference in New Issue
Block a user