Skip to content

Commit

Permalink
docs(use-component-will-receive-update): correct typo (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
FantasyStudio1 authored Oct 24, 2024
1 parent 4b90dba commit dd5fe6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/use-component-will-receive-update.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Change states based on changed props during a re-render. The name of the hook co
## Usage

```js
import { useComponentWillReceiveUpdate } from 'foxact/use-abortable-effect';
import { useComponentWillReceiveUpdate } from 'foxact/use-component-will-receive-update';

function Component(props) {
const [a, setA] = useState('')
Expand Down

0 comments on commit dd5fe6c

Please sign in to comment.