Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
feat(submitModal) : Java submit tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
kasterra committed May 13, 2024
1 parent d7aaf93 commit 64ea175
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,21 @@ const SubmitModal = ({ isOpen, onClose }: Props) => {
}}
/>
{!fileList || fileList.length === 0 ? (
<div>
<div style={{ display: "flex", flexDirection: "column" }}>
<span className={inputStyle.title}>코드로 작성하여 제출</span>
<CodeBlock
height={500}
language={language}
value={code}
onChange={setCode}
/>
{language === "java" ? (
<span style={{ color: "red" }}>
Java에서 코드 작성 제출의 경우 엔트리 포인트 클래스 이름이
<br />
<strong>main</strong>이어야 합니다
</span>
) : null}
</div>
) : null}
</div>
Expand Down

0 comments on commit 64ea175

Please sign in to comment.