Fixed order
This commit is contained in:
parent
3e034d71a7
commit
667160b13c
1 changed files with 3 additions and 3 deletions
|
|
@ -56,11 +56,11 @@ export default function IOModal({
|
|||
|
||||
function startView() {
|
||||
if (!chatInput && !chatOutput) {
|
||||
if (outputs.length > 0) {
|
||||
return outputs[0];
|
||||
if (inputs.length > 0) {
|
||||
return inputs[0];
|
||||
}
|
||||
else {
|
||||
return inputs[0];
|
||||
return outputs[0];
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue