From bde5e32d5eb9243ed57ecf36824a2020a2fdbbad Mon Sep 17 00:00:00 2001 From: Severiano Badajoz Date: Thu, 28 May 2020 11:37:02 -0700 Subject: [PATCH] explain disable --- client/src/components/util/truncate.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/components/util/truncate.js b/client/src/components/util/truncate.js index 07c10af9..33067154 100644 --- a/client/src/components/util/truncate.js +++ b/client/src/components/util/truncate.js @@ -10,6 +10,7 @@ export default class Truncate extends Component { // Uses binary-search-esque method to find largest fitting string given a maxSize // Params: font, size, bold, italic, map + // Memoizing requires this function to be above the memo function // eslint-disable-next-line react/sort-comp static _computeLargestTruncatedString = ( str,