Skip to content

Commit

Permalink
fix: textarea에 안쓰는 속성 삭제
Browse files Browse the repository at this point in the history
[#184]

Co-Authored-By: 박유현 <[email protected]>
  • Loading branch information
yunchaehyun and YuHyun-P committed Nov 30, 2023
1 parent 4830193 commit 02bcd5d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/frontend/src/components/editor/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import * as styles from "./Editor.css";

type ModeType = "insert" | "command";

interface EditorProps {
export interface EditorProps {
initialFile: string;
onSubmit: (file: string) => void;
}
Expand Down Expand Up @@ -119,7 +119,6 @@ export function Editor({ initialFile, onSubmit }: EditorProps) {
value={textareaValue}
onChange={handleTextareaOnChange}
onKeyUp={handleTextareaKeyUp}
defaultValue={initialFile}
ref={textareaRef}
data-testid="textarea"
/>
Expand Down

0 comments on commit 02bcd5d

Please sign in to comment.