Add help message for button errors
This commit is contained in:
parent
b207b464bd
commit
3accd7806a
@ -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.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user