mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-02 06:46:06 -04:00
fix: Make spinner on PromiseInvokeButton same size as icon
This commit is contained in:
parent
116d9c0f4f
commit
191a25f941
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ export default function PromiseInvokeButton<T>({
|
|||
|
||||
const isLoading = isPending || isLoadingOverride;
|
||||
const actualEndIcon = isLoading
|
||||
? loadIcon || <CircularProgress size="1em" />
|
||||
? loadIcon || <CircularProgress size={24} />
|
||||
: endIcon;
|
||||
|
||||
async function handleClick(event: React.MouseEvent<HTMLButtonElement>) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue