Skip to content

Commit

Permalink
Merge pull request #89 from GeorgiosDrivas/concert-limit
Browse files Browse the repository at this point in the history
Concert Limit feature
  • Loading branch information
sam9116 authored Aug 2, 2024
2 parents a370700 + 87553ab commit 95d437a
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 95d437a

Please sign in to comment.