From 667160b13c27614b3c1f9755b4656c7a1ee70ce8 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Sun, 31 Mar 2024 21:55:31 +0300 Subject: [PATCH] Fixed order --- src/frontend/src/modals/IOModal/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/src/modals/IOModal/index.tsx b/src/frontend/src/modals/IOModal/index.tsx index a2b51c995..5c11120b6 100644 --- a/src/frontend/src/modals/IOModal/index.tsx +++ b/src/frontend/src/modals/IOModal/index.tsx @@ -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 {