I\'m trying to to call useLazyQuery after submitting form/onClick, but for some reason I\'m always getting undefined. Here is how I have defined my hook;
cons