From c64b202b9eab62c97864bbf2f0aa4cee768c33b7 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Mon, 7 Mar 2022 18:34:06 +0000 Subject: [PATCH] Add linebreak --- beta/src/pages/apis/usecontext.md | 2 ++ beta/src/pages/apis/useref.md | 2 ++ 2 files changed, 4 insertions(+) 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*/}