{item.text}
} + * {item.steps.map((step) => + * step.question?.kind === "approval" ? ( + * + * ) : ( + * {step.label} + * ), + * )} + *{chat.error.message}
} + * + * > + * ); + * ``` + */ +export function useBase44Chat({ appId, backend, onAppCreated }: Base44ChatOptions): Base44Chat { + const [messages, setMessages] = useState