mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-21 21:16:59 +02:00
fix(v2): fix index page features.length when 0 (#2751)
This commit is contained in:
parent
5a4a2d361f
commit
29506be389
3 changed files with 3 additions and 3 deletions
|
@ -74,7 +74,7 @@ function Home() {
|
|||
</div>
|
||||
</header>
|
||||
<main>
|
||||
{features && features.length && (
|
||||
{features && features.length > 0 && (
|
||||
<section className={styles.features}>
|
||||
<div className="container">
|
||||
<div className="row">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue