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;