Skip to content

Commit 31304b8

Browse files
committed
Oops
1 parent 299dad8 commit 31304b8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

beta/src/pages/apis/usecontext.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@ Now any `Button` inside of the provider will receive the current `theme` value.
175175
176176
<Recipes titleText="Examples of updating context" titleId="examples-basic">
177177
178-
---
179-
180178
### Updating a value via context {/*updating-a-value-via-context*/}
181179
182180
In this example, the `MyApp` component holds a state variable which is then passed to the `ThemeContext` provider. Checking the "Dark mode" checkbox updates the state. Changing the provided value re-renders all the components using that context.

0 commit comments

Comments
 (0)