ux(desktop): remover texto de preparacao do RustDesk no onboarding

This commit is contained in:
Esdras Renan 2025-11-14 11:34:27 -03:00
parent 08003ddcd8
commit 61d3573830

View file

@ -1343,10 +1343,13 @@ useEffect(() => {
</div> </div>
) : null} ) : null}
<div className="mt-2 flex gap-2"> <div className="mt-2 flex gap-2">
<button disabled={busy || !validatedCompany || !isEmailValid || !collabName.trim() || provisioningCode.trim().length < 32} onClick={register} className="rounded-lg border border-black bg-black px-3 py-2 text-sm font-semibold text-white hover:bg-black/90 disabled:opacity-60">Registrar dispositivo</button> <button
{isRustdeskProvisioning ? ( disabled={busy || !validatedCompany || !isEmailValid || !collabName.trim() || provisioningCode.trim().length < 32}
<p className="text-xs text-neutral-500">Preparando cliente de acesso remoto (RustDesk)...</p> onClick={register}
) : null} className="rounded-lg border border-black bg-black px-3 py-2 text-sm font-semibold text-white hover:bg-black/90 disabled:opacity-60"
>
Registrar dispositivo
</button>
</div> </div>
</div> </div>
) : ( ) : (