fix(v2): fix index page features.length when 0 (#2751)

This commit is contained in:
Julien Deniau 2020-05-15 15:29:48 +02:00 committed by GitHub
parent 5a4a2d361f
commit 29506be389
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -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">

View file

@ -78,7 +78,7 @@ function Home() {
</div>
</header>
<main>
{features && features.length && (
{features && features.length > 0 && (
<section className={styles.features}>
<div className="container">
<div className="row">

View file

@ -87,7 +87,7 @@ function Home() {
</div>
</header>
<main>
{features && features.length && (
{features && features.length > 0 && (
<section className={styles.features}>
<div className="container">
<div className="row">