feat: reorganize imports and enhance schedule index layout with additional instructions

This commit is contained in:
Yoga Pangestu 2026-08-31 14:59:21 +07:00
parent a702b506fd
commit ef3988f734

View File

@ -1,6 +1,3 @@
import { Head, router } from '@inertiajs/react';
import { Clock, MapPin, Pencil, Plus, Trash2, Video } from 'lucide-react';
import { useState } from 'react';
import { DeleteConfirmDialog } from '@/components/delete-confirm-dialog';
import { FormDialog } from '@/components/form-dialog';
import InputError from '@/components/input-error';
@ -27,6 +24,9 @@ import {
} from '@/routes/admin/academic-classes/schedules';
import type { Schedule } from '@/types/schedule';
import { DayOfWeekLabels, DaysOfWeek } from '@/types/schedule';
import { Head, router } from '@inertiajs/react';
import { Clock, MapPin, Pencil, Plus, Trash2, Video } from 'lucide-react';
import { useState } from 'react';
type CourseClassOption = {
id: number;
@ -108,6 +108,10 @@ export default function ScheduleIndex({
}
/>
<p className="hidden text-xs text-muted-foreground md:block">
Geser ke samping untuk melihat hari lainnya.
</p>
<CreateForm
open={createOpen}
onOpenChange={setCreateOpen}