diff --git a/src/app/page.tsx b/src/app/page.tsx index 9af3357..25d1258 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -53,19 +53,21 @@ export default async function Home() { } async function RecentJobLinks() { - const recentJobs = await api.job.userRecentJobs(); + const { jobs } = await api.job.userRecentJobs(); + + if (jobs.length === 0) return null; return ( -
+

Recent Jobs