Fixed chat not opening when adding chat
This commit is contained in:
parent
0c6664674f
commit
8e37556993
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ export default function IOModal({
|
|||
useEffect(() => {
|
||||
setSelectedViewField(startView());
|
||||
setSelectedTab(outputs.length > 0 ? 2 : inputs.length > 0 ? 1 : 0);
|
||||
}, [inputs.length, outputs.length]);
|
||||
}, [inputs, inputs.length, outputs, outputs.length]);
|
||||
|
||||
return (
|
||||
<BaseModal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue