Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions addon/components/es-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ export default class EsButtonComponent extends Component {


if(!this.args.onClicked) {
// eslint-disable-next-line no-console
console.warn(new Error('Button created with no onClicked'));
if (this.args.type !== 'submit') {
// eslint-disable-next-line no-console
console.warn(new Error('Button created with no onClicked'));
}
} else {
this._onClicked = this.args.onClicked;
}
Expand Down