hotfix: prettier fail
This commit is contained in:
@@ -39,10 +39,8 @@ const meta: Meta<typeof ScheduleDropdown> = {
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
render: (args: ScheduleDropdownProps) => {
|
||||
|
||||
const [activeSchedule, schedules] = useSchedules();
|
||||
|
||||
|
||||
useEffect(() => {
|
||||
console.log(activeSchedule);
|
||||
}, [activeSchedule]);
|
||||
|
||||
@@ -23,7 +23,6 @@ type Story = StoryObj<typeof meta>;
|
||||
|
||||
export const Active: Story = {
|
||||
render(args) {
|
||||
|
||||
const [activeSchedule] = useSchedules();
|
||||
|
||||
return (
|
||||
|
||||
@@ -15,7 +15,6 @@ const meta = {
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
render(args) {
|
||||
|
||||
const [isOpen, setIsOpen] = useState(args.open);
|
||||
|
||||
return <CourseCatalogInjectedPopup {...args} open={isOpen} onClose={() => setIsOpen(false)} />;
|
||||
|
||||
Reference in New Issue
Block a user