start websocket from chat only after build
This commit is contained in:
parent
f9cece1ece
commit
62b0b28b7f
1 changed files with 1 additions and 2 deletions
|
|
@ -61,8 +61,6 @@ export default function Chat({ flow }: ChatType) {
|
|||
|
||||
return (
|
||||
<>
|
||||
<ChatModal key={flow.id} flow={flow} open={open} setOpen={setOpen} />
|
||||
|
||||
{isBuilt ? (
|
||||
<div>
|
||||
<BuildTrigger
|
||||
|
|
@ -71,6 +69,7 @@ export default function Chat({ flow }: ChatType) {
|
|||
setIsBuilt={setIsBuilt}
|
||||
isBuilt={isBuilt}
|
||||
/>
|
||||
<ChatModal key={flow.id} flow={flow} open={open} setOpen={setOpen} />
|
||||
<ChatTrigger open={open} setOpen={setOpen} isBuilt={isBuilt} />
|
||||
</div>
|
||||
) : (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue