Skip to content

Commit

Permalink
Update src/content/reference/react/captureOwnerStack.md
Browse files Browse the repository at this point in the history
Co-authored-by: Ricky <rickhanlonii@fb.com>
  • Loading branch information
eps1lon and rickhanlonii authored Jan 14, 2025
1 parent 61cc8ae commit d6e8d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/reference/react/captureOwnerStack.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Experimental versions of React may contain bugs. Don't use them in production.
`captureOwnerStack` reads the current **owner** Component stack and returns it as a string if available.

```js
captureOwnerStack();
const stack = captureOwnerStack();
```

</Intro>
Expand Down

0 comments on commit d6e8d90

Please sign in to comment.