Spaces:
Sleeping
Sleeping
add: loader history
Browse files22 unmodified lines23242526272815 unmodified lines4445464748495055 unmodified lines10610710810911011111222 unmodified linesexport default function Mahasiswa() {const [courses, setCourses] = useState<CourseResponse[]>([]);const [chatSessions, setChatSessions] = useState<ChatSessionResponse[]>([]);const [isLoadingCourses, setIsLoadingCourses] = useState(true);const [backendMessage, setBackendMessage] = useState<string>();const [isProcessing, setIsProcessing] = useState(false);15 unmodified lineslistChatSessions().then((r) => setChatSessions(r.data)).catch(() => {});}, []);const handleDeleteSession = (55 unmodified lines<StudentShellchatSessions={chatSessions}isLoadingSessions={false}onDeleteSession={handleDeleteSession}studentName={studentName}>22 unmodified lines2324252627282915 unmodified lines454647484950515255 unmodified lines10810911011111211311422 unmodified linesexport default function Mahasiswa() {const [courses, setCourses] = useState<CourseResponse[]>([]);const [chatSessions, setChatSessions] = useState<ChatSessionResponse[]>([]);const [isLoadingSessions, setIsLoadingSessions] = useState(true);const [isLoadingCourses, setIsLoadingCourses] = useState(true);const [backendMessage, setBackendMessage] = useState<string>();const [isProcessing, setIsProcessing] = useState(false);15 unmodified lineslistChatSessions().then((r) => setChatSessions(r.data)).catch(() => {}).finally(() => setIsLoadingSessions(false));}, []);const handleDeleteSession = (55 unmodified lines<StudentShellchatSessions={chatSessions}isLoadingSessions={isLoadingSessions}onDeleteSession={handleDeleteSession}studentName={studentName}>
resources/js/pages/mahasiswa.tsx+4-2