Skip to content

Commit 729606b

Browse files
Merge branch 'main' of https://github.com/reactjs/react.dev into sync-3ee3a60a
2 parents fae4b80 + 3ee3a60 commit 729606b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/preserving-and-resetting-state.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ label {
672672

673673
</Sandpack>
674674

675-
The counter state gets reset when you click the checkbox. Although you render a `Counter`, the first child of the `div` changes from a `div` to a `section`. When the child `div` was removed from the DOM, the whole tree below it (including the `Counter` and its state) was destroyed as well.
675+
The counter state gets reset when you click the checkbox. Although you render a `Counter`, the first child of the `div` changes from a `section` to a `div`. When the child `section` was removed from the DOM, the whole tree below it (including the `Counter` and its state) was destroyed as well.
676676

677677
<DiagramGroup>
678678

0 commit comments

Comments
 (0)