Skip to content

Commit

Permalink
fix: Modal로 내려주는 prop 타입에러 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
hamo-o committed Aug 27, 2024
1 parent 94ceff5 commit c11ba4c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ const Assignments = ({
return "개설";
case "OPEN":
return "수정";
default:
return "개설";
}
};
const statusStr = formatStatusToString();
Expand All @@ -66,7 +68,6 @@ const Assignments = ({
<>
{open && (
<SuccessModal
assignmentStatus={assignmentStatus}
studyDetailId={studyDetailId}
studyName="스터디 제목"
type={statusStr}
Expand Down

0 comments on commit c11ba4c

Please sign in to comment.