Skip to content

Commit

Permalink
docs: update example usage in README (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shajansheriff authored Aug 30, 2022
1 parent 8278ce5 commit cbc3d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ todosKeys.tag('tag_homework');
// ['todos', 'tag', { tagId: 'tag_homework' }]
todosKeys.search('learn tanstack query', 15);
// ['todos', 'search', 'learn tanstack query', { limit: 15 }]
todosKeys.filter('not-owned-by-me', 'done', 15);
todosKeys.filter({ filter: 'not-owned-by-me', status: 'done', limit: 15 });
// ['todos', 'filter', 'not-owned-by-me', 'done', 15]

todosKeys.single.toScope(); // ['todos', 'single']
Expand Down

0 comments on commit cbc3d91

Please sign in to comment.