From 329f20584f94eb45e71a3505fe8a6037f9c3b5bd Mon Sep 17 00:00:00 2001 From: SeieunYoo Date: Wed, 4 Sep 2024 20:36:23 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20submissionLink=20null=20=EB=A1=9C=20?= =?UTF-8?q?=EB=82=B4=EB=A0=A4=EC=98=A4=EB=8A=94=20=EB=B6=80=EB=B6=84=20?= =?UTF-8?q?=EC=9A=B0=EC=84=A0=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../my-study/_components/AssignmentStatusBox.tsx | 2 +- .../AssignmentOverviewBox/AssignmentBoxButtons.tsx | 8 +++++++- .../AssignmentOverviewBox/AssignmentBoxInfo.tsx | 7 ++++--- .../AssignmentHistory/AssignmentHistoryItem.tsx | 1 + 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/apps/client/app/(afterLogin)/my-study/_components/AssignmentStatusBox.tsx b/apps/client/app/(afterLogin)/my-study/_components/AssignmentStatusBox.tsx index 256f8937..8a4535d6 100644 --- a/apps/client/app/(afterLogin)/my-study/_components/AssignmentStatusBox.tsx +++ b/apps/client/app/(afterLogin)/my-study/_components/AssignmentStatusBox.tsx @@ -5,7 +5,7 @@ import { padWithZero, parseISODate } from "@wow-class/utils"; import { routePath } from "constants/routePath"; import Link from "next/link"; import type { ComponentProps } from "react"; -import type { AssignmentSubmissionStatusType } from "types/entities/common/assignment"; +import type { AssignmentSubmissionStatusType } from "types/entities/myStudy"; import Box from "wowds-ui/Box"; import Button from "wowds-ui/Button"; import Tag from "wowds-ui/Tag"; diff --git a/apps/client/app/(afterLogin)/my-study/my-assignment/_components/AssignmentContent/AssignmentOverviewBox/AssignmentBoxButtons.tsx b/apps/client/app/(afterLogin)/my-study/my-assignment/_components/AssignmentContent/AssignmentOverviewBox/AssignmentBoxButtons.tsx index 041ee9b3..32c7ab77 100644 --- a/apps/client/app/(afterLogin)/my-study/my-assignment/_components/AssignmentContent/AssignmentOverviewBox/AssignmentBoxButtons.tsx +++ b/apps/client/app/(afterLogin)/my-study/my-assignment/_components/AssignmentContent/AssignmentOverviewBox/AssignmentBoxButtons.tsx @@ -107,6 +107,7 @@ const PrimaryButton = ({ const stroke = buttonsDisabled ? "mono100" : "primary"; const link = assignmentSubmissionStatus === null ? repositoryLink : submissionLink; + return (