File tree Expand file tree Collapse file tree
packages/apollo-react/src/canvas/components/StickyNoteNode Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -358,14 +358,20 @@ const StickyNoteNodeComponent = ({
358358 ) : (
359359 < StickyNoteMarkdown ref = { markdownRef } { ...scrollCaptureProps } >
360360 { localContent ? (
361- < ReactMarkdown remarkPlugins = { [ remarkGfm , remarkBreaks ] } components = { markdownComponents } >
361+ < ReactMarkdown
362+ remarkPlugins = { [ remarkGfm , remarkBreaks ] }
363+ components = { markdownComponents }
364+ >
362365 { preserveNewlines ( localContent ) }
363366 </ ReactMarkdown >
364367 ) : (
365368 // Render placeholder if renderPlaceholderOnSelect is enabled, node is selected, and the content is empty
366369 renderPlaceholderOnSelect &&
367370 selected && (
368- < ReactMarkdown remarkPlugins = { [ remarkGfm , remarkBreaks ] } components = { markdownComponents } >
371+ < ReactMarkdown
372+ remarkPlugins = { [ remarkGfm , remarkBreaks ] }
373+ components = { markdownComponents }
374+ >
369375 { placeholder }
370376 </ ReactMarkdown >
371377 )
You can’t perform that action at this time.
0 commit comments