()
| 24 | const mutationKey = ['mutation'] |
| 25 | |
| 26 | function Variables() { |
| 27 | const states = useMutationState(() => ({ |
| 28 | filters: { mutationKey, status: 'pending' }, |
| 29 | select: (mutation) => mutation.state.variables, |
| 30 | })) |
| 31 | |
| 32 | createEffect(() => { |
| 33 | variables.push(states()) |
| 34 | }) |
| 35 | |
| 36 | return null |
| 37 | } |
| 38 | |
| 39 | function Mutate() { |
| 40 | const mutation = useMutation(() => ({ |
nothing calls this directly
no test coverage detected
searching dependent graphs…