Skip to content

Commit

Permalink
Fixes #1467 - Do not send useless data on label close button click
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Lancha committed Jan 23, 2019
1 parent 18477fa commit 2ad2cad
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/clay-label/src/ClayLabel.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ class ClayLabel extends ClayComponent {
*/
_handleCloseButtonClick(event) {
return !this.emit({
data: {
label: this.label,
},
name: 'close',
originalEvent: event,
});
Expand Down

0 comments on commit 2ad2cad

Please sign in to comment.