From c3cb80b162d2e83082a101ff02f79c84c9cfc8e9 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Mon, 2 Dec 2019 17:02:35 +0700 Subject: [PATCH] even better cell paragraphs --- src/utils/dom.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/dom.ts b/src/utils/dom.ts index 6dc5c09d..360bd21c 100644 --- a/src/utils/dom.ts +++ b/src/utils/dom.ts @@ -122,7 +122,7 @@ export const splitCommentByBlocks = (text: string): ICommentBlock[] => export const formatCommentText = (author: string, text: string): ICommentBlock[] => text ? splitCommentByBlocks(formatText(text)) : null; -export const formatCellText = (text: string): string => formatTextParagraphs(formatText(text)); +export const formatCellText = (text: string): string => formatTextParagraphs(text); export const getPrettyDate = (date: string): string => { if (differenceInMonths(new Date(), new Date(date)) >= 3) {