Skip to content

Commit d6e8d90

Browse files
Update src/content/reference/react/captureOwnerStack.md
Co-authored-by: Ricky <rickhanlonii@fb.com>
1 parent 61cc8ae commit d6e8d90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/captureOwnerStack.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Experimental versions of React may contain bugs. Don't use them in production.
1919
`captureOwnerStack` reads the current **owner** Component stack and returns it as a string if available.
2020

2121
```js
22-
captureOwnerStack();
22+
const stack = captureOwnerStack();
2323
```
2424

2525
</Intro>

0 commit comments

Comments
 (0)