diff --git a/beta/src/pages/apis/usecontext.md b/beta/src/pages/apis/usecontext.md index 21e9d7ce..ed31a2eb 100644 --- a/beta/src/pages/apis/usecontext.md +++ b/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*/} diff --git a/beta/src/pages/apis/useref.md b/beta/src/pages/apis/useref.md index d9994002..5a2ab266 100644 --- a/beta/src/pages/apis/useref.md +++ b/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*/}