diff --git a/src/routes/bem-vindo.tsx b/src/routes/bem-vindo.tsx index 5fbe1fc..83d9bc0 100644 --- a/src/routes/bem-vindo.tsx +++ b/src/routes/bem-vindo.tsx @@ -43,6 +43,13 @@ function WelcomePage() { const [saving, setSaving] = 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(null); + const waitStartedAt = useRef(null); + const fullName = (profile?.full_name || "").trim(); const firstName = useMemo( () => (fullName.split(" ")[0] || "vocĂȘ").trim(),