From 7bcf48b9b6946b5ec77542136056291633c2870c Mon Sep 17 00:00:00 2001 From: OrJDev Date: Tue, 8 Oct 2024 19:40:52 +0300 Subject: [PATCH] minor fixes --- packages/prpc/solid/src/query.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/prpc/solid/src/query.ts b/packages/prpc/solid/src/query.ts index 222c6c1..1099486 100644 --- a/packages/prpc/solid/src/query.ts +++ b/packages/prpc/solid/src/query.ts @@ -33,9 +33,7 @@ export const query$ = < const queryClient = useQueryClient() const queryKey = (input?: any) => - input - ? ['prpc.query', props.key, JSON.stringify(input)] - : ['prpc.query', props.key] + input ? ['prpc.query', props.key, input] : ['prpc.query', props.key] return { invalidate: (_input, filters, options) => {