diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx index d346134..649c90e 100644 --- a/src/app/dashboard/page.tsx +++ b/src/app/dashboard/page.tsx @@ -6,12 +6,12 @@ import { useState } from "react"; import { Upload, Music, BookOpen, Download, Play, Plus } from "lucide-react"; export default function DashboardPage() { - const [uploadedFiles, setUploadedFiles] = useState>([ + const [uploadedFiles, setUploadedFiles] = useState>([] { id: "1", name: "Calculus I - Chapter 3.pdf", status: "ready", audioUrl: "/audio/calculus-3.mp3" }, { id: "2", name: "Biology Notes - Photosynthesis.docx", status: "processing" }, ]); - const [materials, setMaterials] = useState>([ + const [materials, setMaterials] = useState>([] { id: "m1", title: "Physics Fundamentals", creator: "Prof. James Chen", subject: "Physics", downloads: 1250 }, { id: "m2", title: "History of Africa", creator: "Dr. Amara Okonkwo", subject: "History", downloads: 892 }, { id: "m3", title: "Advanced Chemistry", creator: "Prof. Sarah Kipchoge", subject: "Chemistry", downloads: 654 }, @@ -33,16 +33,16 @@ export default function DashboardPage() { return (