Skip to content

Commit 9dc5e6f

Browse files
authored
Update tutorial-tic-tac-toe.md
1 parent 35c6d02 commit 9dc5e6f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/content/learn/tutorial-tic-tac-toe.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -708,8 +708,7 @@ body {
708708

709709
### 사용자와 상호작용하는 컴포넌트 만들기 {/*making-an-interactive-component*/}
710710

711-
이제 `Square` 컴포넌트를 클릭하면 `X`로 채워보겠습니다. `Square` 컴포넌트 내부에 `handleClick` 함수를 선언하세요. 그런 다음 `Square`에서 반환(`return`)된 `<button>` JSX 요소에 `onClick` Props를 추가하세요.
712-
711+
이제 `Square` 컴포넌트를 클릭하면 `X`로 채워보겠습니다. `Square` 컴포넌트 내부에 `handleClick` 함수를 선언하세요. 그런 다음 `Square`에서 반환<sup>`return`</sup>된 버튼<sup>`<button>`</sup> JSX 요소에 `onClick` Props를 추가하세요.
713712

714713
```js {2-4,9}
715714
function Square({ value }) {

0 commit comments

Comments
 (0)