style: make RSVPs count display format consistent across views

This commit is contained in:
Starstrike
2025-05-01 17:21:51 -04:00
parent 5c2dd0d595
commit 8e493cd7ed
2 changed files with 2 additions and 2 deletions

View File

@@ -689,7 +689,7 @@ const EventAdmin: React.FC = () => {
</Box>
<Typography variant="h6" gutterBottom>
RSVPs ({rsvps.length}) | Total Guests: {rsvps.reduce((total, rsvp) => {
RSVPs: {rsvps.length} | Total Guests: {rsvps.reduce((total, rsvp) => {
// Count the RSVP person as 1 if they're attending
const rsvpCount = rsvp.attending === 'yes' ? 1 : 0;
// Add their guests if they're bringing any

View File

@@ -242,7 +242,7 @@ const EventView: React.FC = () => {
</Box>
<Typography variant="h6" gutterBottom>
RSVPs ({rsvps.length}) | Total Guests: {rsvps.reduce((total, rsvp) => {
RSVPs: {rsvps.length} | Total Guests: {rsvps.reduce((total, rsvp) => {
// Count the RSVP person as 1 if they're attending
const rsvpCount = rsvp.attending === 'yes' ? 1 : 0;
// Add their guests if they're bringing any