mirror of https://github.com/harness/drone.git
Fix suggestion effected by react-markdown-preview library upgrade (#2063)
parent
ed484b0d44
commit
cc471d0876
|
@ -164,7 +164,7 @@ export function MarkdownViewer({
|
|||
if (
|
||||
typeof code === 'string' &&
|
||||
typeof _className === 'string' &&
|
||||
'language-suggestion' === _className.toLocaleLowerCase()
|
||||
'language-suggestion' === _className.split(' ')[0].toLocaleLowerCase()
|
||||
) {
|
||||
return (
|
||||
<CodeSuggestionBlock
|
||||
|
|
Loading…
Reference in New Issue