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