Skip to content

Commit c32b896

Browse files
committed
fix: Correct which lines are highlighted in code example
1 parent 7f9439e commit c32b896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/reusing-logic-with-custom-hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,7 @@ Similar to a [design system,](https://uxdesign.cc/everything-you-need-to-know-ab
14211421
14221422
Today, with the [`use`](/reference/react/use#streaming-data-from-server-to-client) API, data can be read in render by passing a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) to `use`:
14231423
1424-
```js {3,6,13}
1424+
```js {1,4,11}
14251425
import { use, Suspense } from "react";
14261426

14271427
function Message({ messagePromise }) {

0 commit comments

Comments
 (0)