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