From 240e9b5c5c218351b636aeb1afd8649a043314ef Mon Sep 17 00:00:00 2001 From: Matilde Park Date: Tue, 16 Feb 2021 15:35:47 -0500 Subject: [PATCH] chat: render all code output, not just first line --- pkg/interface/src/views/apps/chat/components/content/code.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/interface/src/views/apps/chat/components/content/code.js b/pkg/interface/src/views/apps/chat/components/content/code.js index a740b3deb..3087a557e 100644 --- a/pkg/interface/src/views/apps/chat/components/content/code.js +++ b/pkg/interface/src/views/apps/chat/components/content/code.js @@ -23,7 +23,7 @@ export default class CodeContent extends Component { style={{ whiteSpace: 'pre' }} backgroundColor='washedGray' > - {content.code.output[0].join('\n')} + {content.code.output.join('\n')} ) : null;