Skip to content

Commit

Permalink
Fix events conditional rendering condition
Browse files Browse the repository at this point in the history
  • Loading branch information
KVinyl committed Mar 26, 2024
1 parent 3426411 commit 095c0ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Events.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function Events() {
<br />
and look for FreeCodeCamp Columbus events there!
</div>
{events.length && (
{events.length > 0 && (
<div className="calendar-events-container">
<Calendar
className="calendar"
Expand Down

0 comments on commit 095c0ed

Please sign in to comment.