From 8272712996ed2de0adc17c0c6799ded279e4f7bd Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 22 Jun 2024 18:24:17 +0800 Subject: [PATCH 1/2] fix pending message overlapping text --- packages/jupyter-ai/src/components/pending-messages.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jupyter-ai/src/components/pending-messages.tsx b/packages/jupyter-ai/src/components/pending-messages.tsx index 98d8092ee..b408e3cdc 100644 --- a/packages/jupyter-ai/src/components/pending-messages.tsx +++ b/packages/jupyter-ai/src/components/pending-messages.tsx @@ -32,7 +32,7 @@ function PendingMessageElement(props: PendingMessageElementProps): JSX.Element { return ( {text.split('\n').map((line, index) => ( - + {line} ))} From 24a3df3c057053de93de71dc3950be5cfcb327d0 Mon Sep 17 00:00:00 2001 From: "David L. Qiu" Date: Mon, 24 Jun 2024 14:06:10 -0700 Subject: [PATCH 2/2] prettier --- packages/jupyter-ai/src/components/pending-messages.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/jupyter-ai/src/components/pending-messages.tsx b/packages/jupyter-ai/src/components/pending-messages.tsx index b408e3cdc..e11016955 100644 --- a/packages/jupyter-ai/src/components/pending-messages.tsx +++ b/packages/jupyter-ai/src/components/pending-messages.tsx @@ -32,9 +32,7 @@ function PendingMessageElement(props: PendingMessageElementProps): JSX.Element { return ( {text.split('\n').map((line, index) => ( - - {line} - + {line} ))} );