diff --git a/src/frontend/src/modals/IOModal/index.tsx b/src/frontend/src/modals/IOModal/index.tsx index b337b7a7e..42c64d5a4 100644 --- a/src/frontend/src/modals/IOModal/index.tsx +++ b/src/frontend/src/modals/IOModal/index.tsx @@ -106,13 +106,7 @@ export default function IOModal({ return ( )} - {haveChat || selectedViewField ? ( -
- {selectedViewField && ( -
-
- - { - nodes.find((node) => node.id === selectedViewField.id) - ?.data.node.display_name - } -
-
- {inputs.some( - (input) => input.id === selectedViewField.id - ) ? ( - - ) : ( - - )} -
-
- )} +
+ {selectedViewField && (
+
+ + { + nodes.find((node) => node.id === selectedViewField.id) + ?.data.node.display_name + } +
+
+ {inputs.some( + (input) => input.id === selectedViewField.id + ) ? ( + + ) : ( + + )} +
+
+ )} +
+ {haveChat ? ( -
+ ) : ( + + Select an IO component to view + + )}
- ) : ( -
- )} +