added missing return when missing values
This commit is contained in:
@@ -65,6 +65,7 @@ export function TimeTicketClockOff({
|
|||||||
} else {
|
} else {
|
||||||
console.log("missing values!");
|
console.log("missing values!");
|
||||||
setError({ message: "Please make sure all fields have a value." });
|
setError({ message: "Please make sure all fields have a value." });
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
const tempcallobj = {
|
const tempcallobj = {
|
||||||
variables: {
|
variables: {
|
||||||
|
|||||||
Reference in New Issue
Block a user