Skip to content

Commit

Permalink
fixed diary, added AboutUs section
Browse files Browse the repository at this point in the history
  • Loading branch information
KubaJedrak committed Sep 6, 2020
1 parent a7d84b7 commit c82c12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/diary/DiaryItemCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const DiaryItemCard = ({ posts, postFilter, onDelete }) => {
}
}

if (posts[0].id === null) {
if (posts.lenght === 0) {
return (<div className={styles.diary__post__content} style={{ paddingLeft: '3%' }}>
<h3>Jak się dziś czujesz?</h3>
<p>To mieisce na Twoje przemyślenia i doznania, których doświadczasz na co dzięń...</p>
Expand Down

0 comments on commit c82c12f

Please sign in to comment.