Skip to content

Commit 3b21450

Browse files
Format
1 parent 600ce46 commit 3b21450

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

docs/framework/react/guides/filters.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -76,22 +76,15 @@ A mutation filter object supports the following properties:
7676
### `matchQuery`
7777

7878
```tsx
79-
const isMatching = matchQuery(
80-
filters,
81-
query
82-
)
79+
const isMatching = matchQuery(filters, query)
8380
```
8481

85-
Returns a boolean that indicates whether a query matches the provided set of query filters.
86-
82+
Returns a boolean that indicates whether a query matches the provided set of query filters.
8783

8884
### `matchMutation`
8985

9086
```tsx
91-
const isMatching = matchMutation(
92-
filters,
93-
mutation
94-
)
87+
const isMatching = matchMutation(filters, mutation)
9588
```
9689

97-
Returns a boolean that indicates whether a mutation matches the provided set of mutation filters.
90+
Returns a boolean that indicates whether a mutation matches the provided set of mutation filters.

0 commit comments

Comments
 (0)