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:
@@ -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>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user