+
My Uploaded Files
+ {files.length > 0 ? (
+
+ {files.map((file) => (
+
+
+
+
+ ))}
+
+ ) : (
+
+
No files uploaded yet.
+
+ Upload a file
+
+
+ )}
+
+ );
+}
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index 4230c2c..96a0ca8 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -1,4 +1,5 @@
import { ThemeProvider } from "@/components/theme-provider";
+import { Toaster } from "@/components/ui/sonner";
import type { Metadata } from "next";
import localFont from "next/font/local";
import "./globals.css";
@@ -37,6 +38,7 @@ export default function RootLayout({
>
{children}
+