+ {/* Profile image card */}
+
+
+ {" "}
+ {/* Card title */}
+ {" "}
+ {/* Card description */}
+
+
+
+
+ {" "}
+ {/* Icon placeholder */}
+
+
+
+
+
- {/* Second card - Email field */}
-
+ {/* Your name card */}
+
+
+ {" "}
+ {/* Card title */}
+ {" "}
+ {/* Card description */}
+
+
+ {" "}
+ {/* First name input */}
+ {" "}
+ {/* Last name input */}
+
+
+
+ {/* Contact email card */}
+
{" "}
{/* Email input */}
+
+ {/* Default organization card */}
+
+
+ {" "}
+ {/* Card title */}
+ {" "}
+ {/* Card description */}
+
+
{" "}
+ {/* Select dropdown */}
+
{/* Save button */}
@@ -74,7 +140,7 @@ export default function Loading() {
{" "}
{/* Button */}
From fec778cae6917533fb50516e4b19f9026e8fee33 Mon Sep 17 00:00:00 2001
From: ameer2468 <33054370+ameer2468@users.noreply.github.com>
Date: Fri, 17 Oct 2025 15:46:34 +0300
Subject: [PATCH 3/3] add spinner classname
---
.../settings/account/components/ProfileImage.tsx | 3 ++-
packages/ui/src/components/Button.tsx | 9 ++++++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/apps/web/app/(org)/dashboard/settings/account/components/ProfileImage.tsx b/apps/web/app/(org)/dashboard/settings/account/components/ProfileImage.tsx
index a1cdcec999..e2a6948e11 100644
--- a/apps/web/app/(org)/dashboard/settings/account/components/ProfileImage.tsx
+++ b/apps/web/app/(org)/dashboard/settings/account/components/ProfileImage.tsx
@@ -120,12 +120,13 @@ export function ProfileImage({
disabled={disabled || isLoading || isRemoving}
size="icon"
onClick={handleRemove}
+ spinnerClassName="mr-0"
spinner={isRemoving}
>
{isRemoving ? null : (
)}
diff --git a/packages/ui/src/components/Button.tsx b/packages/ui/src/components/Button.tsx
index ea83036983..45f322dfab 100644
--- a/packages/ui/src/components/Button.tsx
+++ b/packages/ui/src/components/Button.tsx
@@ -49,6 +49,7 @@ export interface ButtonProps
asChild?: boolean;
spinner?: boolean;
href?: string;
+ spinnerClassName?: string;
kbd?: string;
icon?: React.ReactNode;
target?: string;
@@ -62,6 +63,7 @@ const Button = React.forwardRef
(
size,
asChild = false,
spinner = false,
+ spinnerClassName,
href,
kbd,
icon,
@@ -79,7 +81,12 @@ const Button = React.forwardRef(
href={href || undefined}
{...props}
>
- {spinner && }
+ {spinner && (
+
+ )}
{icon && icon}
{props.children}
{kbd && (