build: update storybook (#214)

* chore: Update updatedAt dates in schedules

Set updatedAt dates to be fixed to '2024-01-01 12:00' for all schedules in
UserScheduleStore.

* build: update storybook

* chore: Removed unnecessary eslint-disable-next-line statements.
This commit is contained in:
Razboy20
2024-05-20 17:08:36 -05:00
committed by GitHub
parent 88c0061187
commit d4611952d4
10 changed files with 1704 additions and 2261 deletions

View File

@@ -38,23 +38,11 @@ const meta: Meta<typeof ScheduleDropdown> = {
layout: 'centered',
},
tags: ['autodocs'],
argTypes: {
defaultOpen: {
control: {
type: 'boolean',
},
},
children: {
control: {
type: 'node',
},
},
},
render: (args: ScheduleDropdownProps) => {
// eslint-disable-next-line react-hooks/rules-of-hooks
const [activeSchedule, schedules] = useSchedules();
// eslint-disable-next-line react-hooks/rules-of-hooks
useEffect(() => {
console.log(activeSchedule);
}, [activeSchedule]);