diff --git a/client/src/helpers/highlightTextareaComments.js b/client/src/helpers/highlightTextareaComments.js index ad053246..5053da7a 100644 --- a/client/src/helpers/highlightTextareaComments.js +++ b/client/src/helpers/highlightTextareaComments.js @@ -17,7 +17,7 @@ export const getTextareaCommentsHighlight = ( ) => { const renderLine = (line, idx) => renderHighlightedLine(line, idx, commentLineTokens); - return {lines?.split('\n').map(renderLine)}; + return {lines?.split('\n').map(renderLine)}; }; export const syncScroll = (e, ref) => {