Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot] 2026-04-26 20:25:41 +00:00
parent fa7b85b430
commit 54add0c243

View file

@ -43,6 +43,13 @@ function WelcomePage() {
const [saving, setSaving] = useState(false); const [saving, setSaving] = useState(false);
const [wizardOpen, setWizardOpen] = useState(false); const [wizardOpen, setWizardOpen] = useState(false);
// Managed bot state
const [creatingBot, setCreatingBot] = useState(false);
const [waitingConfirm, setWaitingConfirm] = useState(false);
const [waitTimedOut, setWaitTimedOut] = useState(false);
const [previewUsername, setPreviewUsername] = useState<string | null>(null);
const waitStartedAt = useRef<number | null>(null);
const fullName = (profile?.full_name || "").trim(); const fullName = (profile?.full_name || "").trim();
const firstName = useMemo( const firstName = useMemo(
() => (fullName.split(" ")[0] || "você").trim(), () => (fullName.split(" ")[0] || "você").trim(),