mirror of
https://github.com/domfelipe/mika-agent-assist.git
synced 2026-08-07 07:36:41 +00:00
Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
parent
fa7b85b430
commit
54add0c243
1 changed files with 7 additions and 0 deletions
|
|
@ -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(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue