From c65e1edb7a626fa387731326096c64155535b264 Mon Sep 17 00:00:00 2001 From: Manuel Schiller Date: Tue, 28 Nov 2023 17:20:58 +0100 Subject: [PATCH] docs: fix README.md typo (#80) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9c096fb..55d6caa 100644 --- a/README.md +++ b/README.md @@ -244,7 +244,7 @@ export function useUserLikes(userId: string) { Easy way to access the serializable key scope and invalidate all cache for that context: ```ts -users.detail({ status: 'completed' }).queryKey; // => ['users', 'detail', userId] +users.detail(userId).queryKey; // => ['users', 'detail', userId] users.detail._def; // => ['users', 'detail'] ```