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 @@ -59,7 +59,9 @@ export const DeepThinking: FunctionComponent<DeepThinkingProps> = ({
5959
6060 const renderToggleContent = ( ) => {
6161 if ( isToggleContentMarkdown && typeof toggleContent === 'string' ) {
62- return < MarkdownContent shouldRetainStyles = { shouldRetainStyles } content = { toggleContent } { ...markdownContentProps } /> ;
62+ return (
63+ < MarkdownContent shouldRetainStyles = { shouldRetainStyles } content = { toggleContent } { ...markdownContentProps } />
64+ ) ;
6365 }
6466 return toggleContent ;
6567 } ;
Original file line number Diff line number Diff line change @@ -118,7 +118,13 @@ export const ToolCall: FunctionComponent<ToolCallProps> = ({
118118
119119 const renderExpandableContent = ( ) => {
120120 if ( isExpandableContentMarkdown && typeof expandableContent === 'string' ) {
121- return < MarkdownContent shouldRetainStyles = { shouldRetainStyles } content = { expandableContent } { ...markdownContentProps } /> ;
121+ return (
122+ < MarkdownContent
123+ shouldRetainStyles = { shouldRetainStyles }
124+ content = { expandableContent }
125+ { ...markdownContentProps }
126+ />
127+ ) ;
122128 }
123129 return expandableContent ;
124130 } ;
Original file line number Diff line number Diff line change @@ -87,7 +87,9 @@ export const ToolResponse: FunctionComponent<ToolResponseProps> = ({
8787
8888 const renderToggleContent = ( ) => {
8989 if ( isToggleContentMarkdown && typeof toggleContent === 'string' ) {
90- return < MarkdownContent shouldRetainStyles = { shouldRetainStyles } content = { toggleContent } { ...markdownContentProps } /> ;
90+ return (
91+ < MarkdownContent shouldRetainStyles = { shouldRetainStyles } content = { toggleContent } { ...markdownContentProps } />
92+ ) ;
9193 }
9294 return toggleContent ;
9395 } ;
You can’t perform that action at this time.
0 commit comments