Skip to content

Commit 505f651

Browse files
authored
Fix root-unmount returns (#6137)
1 parent b452e7b commit 505f651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Calling `root.unmount` will unmount all the components in the root and "detach"
107107
108108
#### Returns {/*root-unmount-returns*/}
109109
110-
`render` returns `null`.
110+
`root.unmount` returns `undefined`.
111111
112112
#### Caveats {/*root-unmount-caveats*/}
113113

0 commit comments

Comments
 (0)