Fix recentProjects undefined reference

cgen-c17e5b95dacd404cab78b2145e44ddfc
This commit is contained in:
Builder.io 2025-08-06 04:49:25 +00:00
parent f16e8909cb
commit ad9156245b

View file

@ -396,7 +396,7 @@ export default function Dashboard() {
</div>
</CardHeader>
<CardContent className="space-y-4">
{recentProjects.map((project, index) => (
{projects.slice(0, 3).map((project: any, index) => (
<div
key={index}
className="flex items-center justify-between p-4 rounded-lg border border-border/30 hover:border-aethex-400/50 transition-all duration-300 hover-lift animate-slide-right"