Skip to content

Commit 4c81e5f

Browse files
goffrieConvex, Inc.
authored andcommitted
Only use CACHE_BREAKER_ARGS for componentQuery (#43522)
GitOrigin-RevId: f6125828933b2f643d470a0c161c757f34669750
1 parent 049493b commit 4c81e5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

npm-packages/scenario-runner/convex/components.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ export const componentQuery = query({
1212
});
1313

1414
export const componentMutation = mutation({
15-
args: CACHE_BREAKER_ARGS,
15+
args: {},
1616
handler: async (ctx) => {
1717
return await ctx.runMutation(components.counterComponent.public.increment);
1818
},
1919
});
2020

2121
export const componentAction = action({
22-
args: CACHE_BREAKER_ARGS,
22+
args: {},
2323
handler: async (ctx) => {
2424
const count = Math.floor(Math.random() * 4) + 1;
2525
await ctx.runAction(components.counterComponent.public.reset, { count });

0 commit comments

Comments
 (0)