Skip to content

Commit

Permalink
fix(doc): fixed mistake on documentation (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sir-J committed Jul 7, 2023
1 parent df17064 commit 19efbc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/features/entities-management/entities.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ Get first entity from the store by predicate:
```ts
import { getEntityByPredicate } from '@ngneat/elf-entities';

const todo = todosStore.query(getEntityByPredicate(({ title }) => title = 'Elf'));
const todo = todosStore.query(getEntityByPredicate(({ title }) => title === 'Elf'));
```

### `hasEntity`
Expand Down

0 comments on commit 19efbc4

Please sign in to comment.