Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
OrJDev committed Oct 8, 2024
1 parent 8cbec36 commit 7bcf48b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/prpc/solid/src/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 7bcf48b

Please sign in to comment.