diff --git a/components/AdminDashboard.tsx b/components/AdminDashboard.tsx index 5e62d53..58ca18c 100644 --- a/components/AdminDashboard.tsx +++ b/components/AdminDashboard.tsx @@ -91,7 +91,7 @@ export default function AdminDashboard({ onProjectSelect, onNewProject }: AdminD return matchesSearch && matchesCategory; }) .sort((a, b) => { - let aValue: unknown, bValue: unknown; + let aValue: string | number | Date, bValue: string | number | Date; switch (sortBy) { case 'date': diff --git a/components/Toast.tsx b/components/Toast.tsx index bce1f98..c5b971b 100644 --- a/components/Toast.tsx +++ b/components/Toast.tsx @@ -99,10 +99,7 @@ const ToastItem = ({ toast, onRemove }: ToastProps) => {