Add help message for button errors

This commit is contained in:
André Wahlberg 2020-12-08 11:44:37 +01:00
parent b207b464bd
commit 3accd7806a

View File

@ -13,7 +13,7 @@ class Button extends Component {
func();
});
} else {
console.log("Error when parsing Button onClick functions.");
console.log("Error when parsing Button onClick functions. Make sure the functions are passed as an array.");
}
}
}