Changing assets with new DA.

This commit is contained in:
charlesgauthereau
2025-12-23 22:10:00 +01:00
parent 36adcb323a
commit d9997ff5e9
3 changed files with 4 additions and 5 deletions
@@ -41,7 +41,7 @@ export const AuthLogoSection = () => {
/>
)}
<span className="absolute bottom-12 right-2 text-sm text-muted-foreground" style={style}>
<span className="absolute bottom-10 right-5 text-sm text-muted-foreground" style={style}>
v{env.NEXT_PUBLIC_PROJECT_VERSION}
</span>
</div>
@@ -73,9 +73,8 @@ export function ProfileProviders({accounts}: ProfileProviderProps) {
{SUPPORTED_PROVIDERS.map((provider) => {
const linkedAccount = accounts.find((acc) => acc.providerId === provider.id);
const isConnected = !!linkedAccount;
console.log(totalConnected);
const canUnlink = totalConnected > 1 || (totalConnected === 1 && !provider.isManual);
console.log(canUnlink);
// const canUnlink = totalConnected > 1 || (totalConnected === 1 && !provider.isManual);
const canUnlink = totalConnected > 1 ;
// const isLoading = isUnlinking || isLinking;
const isLoading = loadingProvider === provider.id;
+1 -1
View File
@@ -8,7 +8,7 @@ export function CardAuth({ className, ...props }: React.ComponentProps<"div">) {
data-slot="card"
className={cn(
"bg-transparent border-none py-3",
"md:bg-card text-card-foreground flex flex-col gap-6 rounded-xl md:border-solid md:border md:py-6 shadow-sm",
"md:bg-card text-card-foreground flex flex-col gap-6 rounded-xl md:border-solid md:border md:py-6 md:shadow-sm",
className
)}
{...props}