toggleDocument(document.id)}
className={`px-4 py-5 border text-sm text-center flex flex-col justify-center items-center gap-3 rounded-sm cursor-pointer transition
- ${
- isSelected
- ? "border-[#FF9016]"
- : "border-[#D9D9D9]"
- }`}
+ ${isSelected ? "border-[#FF9016]" : "border-[#D9D9D9]"}`}
>
diff --git a/src/app/(afterLogin)/applications/page.tsx b/src/app/(afterLogin)/applications/page.tsx
index b8a5319..7116be2 100644
--- a/src/app/(afterLogin)/applications/page.tsx
+++ b/src/app/(afterLogin)/applications/page.tsx
@@ -12,7 +12,7 @@ import Divider from "../documents/_components/divider";
import LoadingSpinner from "@/app/_components/loadingSpinner";
import SearchIcon from "@/assets/Search.svg";
import PlusIcon from "@/assets/Plus.svg";
-import { CompanyApplicationWithId } from "@/type/applicationType";
+import { CompanyApplicationWithId, Schedule } from "@/type/applicationType";
import PencilSimpleIcon from "@/assets/PencilSimple.svg";
import TrashSimpleIcon from "@/assets/TrashSimple.svg";
@@ -236,9 +236,8 @@ export default function ApplicationsPage() {
filteredApplications.map((app: CompanyApplicationWithId) => {
const deadline =
app.schedules?.find(
- (s: { title: string }) => s.title === "마감일"
+ (s: Schedule) => s.memo && s.memo === "마감일"
)?.dateTime || null;
- const companyLink = formatUrl(app.companyUrl);
return (
-
- {app.companyName}
-
+ {app.companyName}
|
{app.companyAddress || "-"} |
@@ -291,7 +283,7 @@ export default function ApplicationsPage() {
| {formatDate(deadline)} |
|