common: fix Button not showing loading spinner

This commit is contained in:
David Sevilla Martin 2020-03-11 18:41:26 -04:00
parent da31fc2619
commit 22a031a3f1
No known key found for this signature in database
GPG Key ID: F764F1417E16B15F

View File

@ -57,7 +57,7 @@ export default class Button<T extends ButtonProps = ButtonProps> extends Compone
delete attrs.onclick;
}
return <button {...attrs}>{this.getButtonContent(iconName, attrs.loading, children)}</button>;
return <button {...attrs}>{this.getButtonContent(iconName, loading, children)}</button>;
}
/**