Skip to content

Commit 517edcf

Browse files
authored
fix: call convexToJSON on args being passed to JSON.stringify (#879)
1 parent f43db36 commit 517edcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/convex-helpers/react.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export function makeUseQueryWithStatus(useQueriesHook: typeof useQueries) {
139139
args,
140140
},
141141
};
142-
}, [getFunctionName(query), JSON.stringify(args)]);
142+
}, [getFunctionName(query), JSON.stringify(convexToJson(args))]);
143143
const result = useQueriesHook(queries);
144144
if (args === "skip") {
145145
return {

0 commit comments

Comments
 (0)