@@ -509,11 +600,11 @@ function EventDetailsDialog({ event, onClose, onEdit, onDelete, isDarkMode }: {
>
)}
Category: {event.category}
- {(event.attendees || []).length > 0 && (
+ {event.attendees.length > 0 && (
Attendees:
- {(event.attendees || []).map((email, index) => (
+ {event.attendees.map((email, index) => (
- {email}
))}
diff --git a/react-shadcn-starter/src/lib/circle-data.ts b/react-shadcn-starter/src/lib/circle-data.ts
index 4c383b7..ca57385 100644
--- a/react-shadcn-starter/src/lib/circle-data.ts
+++ b/react-shadcn-starter/src/lib/circle-data.ts
@@ -37,13 +37,6 @@ export const defaultMembers: Member[] = [
email: "mike.w@example.com",
role: "stakeholder",
description: "Key stakeholder representing finance department"
- },
- {
- id: "4",
- name: "Lisa Chen",
- email: "lisa.chen@example.com",
- role: "contributor",
- description: "Technical contributor and documentation specialist"
}
];