Browse Source

Fix typo

main
dan 2 years ago
committed by GitHub
parent
commit
28f30b4994
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beta/src/content/apis/react/useDebugValue.md

2
beta/src/content/apis/react/useDebugValue.md

@ -100,7 +100,7 @@ This lets you avoid running potentially expensive formatting logic unless the co
### `useDebugValue(value, format?)` {/*usedebugvaluevalue-format*/}
Call `useContext` at the top level of your [custom Hook](/learn/reusing-logic-with-custom-hooks) to display a readable debug value:
Call `useDebugValue` at the top level of your [custom Hook](/learn/reusing-logic-with-custom-hooks) to display a readable debug value:
```js
import { useDebugValue } from 'react';

Loading…
Cancel
Save