Browse Source

Add linebreak

main
Dan Abramov 3 years ago
parent
commit
c64b202b9e
  1. 2
      beta/src/pages/apis/usecontext.md
  2. 2
      beta/src/pages/apis/useref.md

2
beta/src/pages/apis/usecontext.md

@ -24,6 +24,8 @@ const value = useContext(SomeContext)
- [My component doesn't see the value from my provider](#my-component-doesnt-see-the-value-from-my-provider)
- [I am always getting undefined from my context although the default value is different](#i-am-always-getting-undefined-from-my-context-although-the-default-value-is-different)
---
## Usage {/*usage*/}

2
beta/src/pages/apis/useref.md

@ -22,6 +22,8 @@ const ref = useRef(initialValue)
- [Troubleshooting](#troubleshooting)
- [I can’t get a ref to a custom component](#i-cant-get-a-ref-to-a-custom-component)
---
## Usage {/*usage*/}
### Referencing a value with a ref {/*referencing-a-value-with-a-ref*/}

Loading…
Cancel
Save