From f0329f33aab92d4dd2aba57321d32f31a258bf3e Mon Sep 17 00:00:00 2001 From: Derek Chen Date: Sat, 17 Feb 2024 17:22:39 -0600 Subject: [PATCH] Idk why this is erroring out --- .../components/CalendarCourseCell.stories.tsx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/stories/components/CalendarCourseCell.stories.tsx b/src/stories/components/CalendarCourseCell.stories.tsx index 4da0dcd1..fe0db892 100644 --- a/src/stories/components/CalendarCourseCell.stories.tsx +++ b/src/stories/components/CalendarCourseCell.stories.tsx @@ -13,11 +13,10 @@ const meta = { }, tags: ['autodocs'], argTypes: { - department: { control: { type: 'text' } }, - courseNumber: { control: { type: 'text' } }, - instructorLastName: { control: { type: 'text' } }, + courseDeptAndInstr: { control: { type: 'text' } }, + className: { control: { type: 'text' } }, status: { control: { type: 'select', options: Object.values(Status) } }, - meetingTime: { control: { type: 'text' } }, + timeAndLocation: { control: { type: 'text' } }, colors: { control: { type: 'object' } }, }, render: (args: any) => ( @@ -26,11 +25,10 @@ const meta = { ), args: { - department: exampleCourse.department, - courseNumber: exampleCourse.number, - instructorLastName: exampleCourse.instructors[0].lastName, + courseDeptAndInstr: exampleCourse.department, + className: exampleCourse.number, status: exampleCourse.status, - meetingTime: exampleCourse.schedule.meetings[0].getTimeString({ separator: '-' }), + timeAndLocation: exampleCourse.schedule.meetings[0].getTimeString({ separator: '-' }), colors: getCourseColors('emerald', 500), },