1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 07:27:39 +02:00

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

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>;
}
/**