Skip to content

Commit

Permalink
fix: feature.length if 0
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeniau committed May 15, 2020
1 parent 5a4a2d3 commit 650489d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 650489d

Please sign in to comment.