diff --git a/src/components/dashboard/CompanyJobsPage.tsx b/src/components/dashboard/CompanyJobsPage.tsx index 1222aa5..cda3130 100644 --- a/src/components/dashboard/CompanyJobsPage.tsx +++ b/src/components/dashboard/CompanyJobsPage.tsx @@ -284,7 +284,11 @@ export default function CompanyJobsPage() { }); const data = await res.json().catch(() => ({})); if (!res.ok) { - setError(data.error ?? data.message ?? "Failed to create job."); + if (data.code === "QUOTA_EXHAUSTED") { + setError("You've used your free job post for this month. Contact support to purchase additional job slots."); + } else { + setError(data.error ?? data.message ?? "Failed to create job."); + } return; } setActionMsg("Job created as draft.");