Commit 4b94f352 authored by Mattias J Duffy's avatar Mattias J Duffy
Browse files

added e as an arg to the handleClick func

parent 2d000921
......@@ -28,7 +28,7 @@ class FavoriteButton extends React.Component {
handleClick() {
handleClick(e) {
e.stopPropagation(); //Stops the card from being selected in the sidebar.
if (this.state.isFavorite) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment