Skip to content

Commit

Permalink
Update selector.md (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
fahmitech committed Aug 2, 2023
1 parent 3db6957 commit 0f594b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advanced/selector.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export const useTodosFiltered = createHook(Store, {
});

export const TodoList = ({ status }) => {
const [todos, actions] = useTodosByStatus(status);
const [todos, actions] = useTodosFiltered(status);
return todos.map(/* render... */);
};
```
Expand Down

0 comments on commit 0f594b2

Please sign in to comment.