Skip to content

Commit 19e4342

Browse files
committed
docs: fix broken Sandpack closing tag in passing-data-deeply-with-context.md
1 parent bc6f8d0 commit 19e4342

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/content/learn/passing-data-deeply-with-context.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,9 @@ export const LevelContext = createContext(0);
830830
}
831831
```
832832
833-
</SandpackYou didn't do anything special for this to work. A `Section` specifies the Context for the tree inside it, so you can insert a `<Heading>` anywhere, and it will have the correct size. Try it in the sandbox above!
833+
</Sandpack>
834+
835+
You didn't do anything special for this to work. A `Section` specifies the Context for the tree inside it, so you can insert a `<Heading>` anywhere, and it will have the correct size. Try it in the sandbox above!
834836
835837
**Context lets you write components that "adapt to their surroundings" and display themselves differently depending on _where_ (or, in other words, _in which context_) they are being rendered.**
836838

0 commit comments

Comments
 (0)