Skip to content

Commit

Permalink
Concert Limit feature
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgiosDrivas committed Aug 2, 2024
1 parent a370700 commit 87553ab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ConcertList.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,11 @@ class ConcertList extends React.Component {
};
return (
<div>
{hasConcerts && <p>Upcoming Concerts: </p>}
{hasConcerts && (
<p>
Upcoming Concerts <br />({this.state.concerts.length} / 5):
</p>
)}
{hasConcerts && (
<Button onClick={onClearAllPress} variant="outlined" color="warning">
Clear All
Expand Down

0 comments on commit 87553ab

Please sign in to comment.