From 3a1deddb8c4175c0d8c388a4198b153d319168fa Mon Sep 17 00:00:00 2001 From: Mohak Jaiswal Date: Sat, 3 Jan 2026 19:45:34 +0530 Subject: [PATCH] Fix deadline handling and prevent invalid job application modal access --- apps/student/components/job-application-modal.tsx | 5 ++--- nextplacement | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) create mode 160000 nextplacement diff --git a/apps/student/components/job-application-modal.tsx b/apps/student/components/job-application-modal.tsx index 814d4d2..cd9f91f 100644 --- a/apps/student/components/job-application-modal.tsx +++ b/apps/student/components/job-application-modal.tsx @@ -21,7 +21,6 @@ import { applyForJob } from "../app/(main)/actions" import { type InferSelectModel } from '@workspace/db/drizzle'; import { jobs, companies, resumes } from '@workspace/db/schema'; - export type Job = InferSelectModel & { company: typeof companies.$inferSelect; }; @@ -202,8 +201,8 @@ export default function JobApplicationModal({ job, studentId, resumes, isApplied {/* Message Display */} {message && (
{message.type === 'success' ? ( diff --git a/nextplacement b/nextplacement new file mode 160000 index 0000000..1648a56 --- /dev/null +++ b/nextplacement @@ -0,0 +1 @@ +Subproject commit 1648a56680c70863e79265c536c4f89f5b0302a4