From 191a25f94192d68832d3ed1ed9c7bf2074ef8bb0 Mon Sep 17 00:00:00 2001 From: binarybaron Date: Sat, 10 Aug 2024 12:23:39 +0200 Subject: [PATCH] fix: Make spinner on PromiseInvokeButton same size as icon --- src-gui/src/renderer/components/PromiseInvokeButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-gui/src/renderer/components/PromiseInvokeButton.tsx b/src-gui/src/renderer/components/PromiseInvokeButton.tsx index 07d5b1b4..c78d6866 100644 --- a/src-gui/src/renderer/components/PromiseInvokeButton.tsx +++ b/src-gui/src/renderer/components/PromiseInvokeButton.tsx @@ -34,7 +34,7 @@ export default function PromiseInvokeButton({ const isLoading = isPending || isLoadingOverride; const actualEndIcon = isLoading - ? loadIcon || + ? loadIcon || : endIcon; async function handleClick(event: React.MouseEvent) {