Skip to content

Commit e462a46

Browse files
committed
docs: translate createRoot.md
1 parent 5a6b531 commit e462a46

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/content/reference/react-dom/client/createRoot.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,9 @@ root.render(<App />);
496496
흔히 하는 실수는 `createRoot`의 옵션을 `root.render(...)`에 전달하는 것입니다.
497497
498498
<ConsoleBlock level="error">
499-
경고: `root.render(...)`에 두 번째 인수를 전달했지만, 이 메서드는 하나의 인자만 받을 수 있습니다.
499+
500+
Warning: You passed a second argument to root.render(...) but it only accepts one argument.
501+
500502
</ConsoleBlock>
501503
502504
해결 방법: 루트 옵션은 `root.render(...)`가 아니라 `createRoot(...)`에 전달하세요.

0 commit comments

Comments
 (0)