Skip to content

Commit 9331283

Browse files
author
Filipe Versehgi
authored
Update README.md
1 parent 8b8685f commit 9331283

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ The other side of the coin is the UsePlug Hook. This way you can Plug your compo
8080
```javascript
8181
const TestComponent = (props) => {
8282
const { name } = props;
83-
const state = usePlug(state$)
83+
const state = useStream(state$)
8484
return (
8585
<div>
8686
<h1 data-testid="name">{name}</h1>

0 commit comments

Comments
 (0)