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:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user