mirror of
https://github.com/flarum/framework.git
synced 2025-01-21 21:45:32 +08:00
common: fix Button not showing loading spinner
This commit is contained in:
parent
da31fc2619
commit
22a031a3f1
|
@ -57,7 +57,7 @@ export default class Button<T extends ButtonProps = ButtonProps> extends Compone
|
||||||
delete attrs.onclick;
|
delete attrs.onclick;
|
||||||
}
|
}
|
||||||
|
|
||||||
return <button {...attrs}>{this.getButtonContent(iconName, attrs.loading, children)}</button>;
|
return <button {...attrs}>{this.getButtonContent(iconName, loading, children)}</button>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user