()
| 66 | const mutationKey = queryKey() |
| 67 | |
| 68 | function Variables() { |
| 69 | const states = useMutationState(() => ({ |
| 70 | filters: { mutationKey, status: 'pending' }, |
| 71 | select: (mutation) => mutation.state.variables, |
| 72 | })) |
| 73 | |
| 74 | createEffect(() => { |
| 75 | variables.push(states()) |
| 76 | }) |
| 77 | |
| 78 | return null |
| 79 | } |
| 80 | |
| 81 | function Mutate() { |
| 82 | const mutation = useMutation(() => ({ |
nothing calls this directly
no test coverage detected