File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,9 @@ export const DeepThinking: FunctionComponent<DeepThinkingProps> = ({
6262
6363 const renderToggleContent = ( ) => {
6464 if ( isToggleContentMarkdown && typeof toggleContent === 'string' ) {
65- return < MarkdownContent shouldRetainStyles = { shouldRetainStyles } content = { toggleContent } { ...markdownContentProps } /> ;
65+ return (
66+ < MarkdownContent shouldRetainStyles = { shouldRetainStyles } content = { toggleContent } { ...markdownContentProps } />
67+ ) ;
6668 }
6769 return toggleContent ;
6870 } ;
Original file line number Diff line number Diff line change @@ -127,7 +127,13 @@ export const ToolCall: FunctionComponent<ToolCallProps> = ({
127127
128128 const renderExpandableContent = ( ) => {
129129 if ( isExpandableContentMarkdown && typeof expandableContent === 'string' ) {
130- return < MarkdownContent shouldRetainStyles = { shouldRetainStyles } content = { expandableContent } { ...markdownContentProps } /> ;
130+ return (
131+ < MarkdownContent
132+ shouldRetainStyles = { shouldRetainStyles }
133+ content = { expandableContent }
134+ { ...markdownContentProps }
135+ />
136+ ) ;
131137 }
132138 return expandableContent ;
133139 } ;
Original file line number Diff line number Diff line change @@ -90,7 +90,9 @@ export const ToolResponse: FunctionComponent<ToolResponseProps> = ({
9090
9191 const renderToggleContent = ( ) => {
9292 if ( isToggleContentMarkdown && typeof toggleContent === 'string' ) {
93- return < MarkdownContent shouldRetainStyles = { shouldRetainStyles } content = { toggleContent } { ...markdownContentProps } /> ;
93+ return (
94+ < MarkdownContent shouldRetainStyles = { shouldRetainStyles } content = { toggleContent } { ...markdownContentProps } />
95+ ) ;
9496 }
9597 return toggleContent ;
9698 } ;
You can’t perform that action at this time.
0 commit comments