Add RRuleDisplay component and clean up unused imports

- Create new RRuleDisplay component for better recurrence rule formatting
- Replace Badge with RRuleDisplay in EventCard for improved UX
- Remove unused imports across multiple files (CalendarEvent, Badge, Card components)
- Remove unused catch parameter in ai-event route
This commit is contained in:
2025-08-22 13:35:13 -04:00
parent eb73f9f929
commit 824768ce93
5 changed files with 249 additions and 7 deletions

View File

@@ -60,7 +60,7 @@ Rules:
const content = data.choices[0].message.content;
const parsed = JSON.parse(content);
return NextResponse.json(parsed);
} catch (e) {
} catch {
return NextResponse.json(
{ error: "Failed to parse AI output", raw: data },
{ status: 500 },