From 5f164202a239a79d36648f4449a34714629e8057 Mon Sep 17 00:00:00 2001 From: Manuel Ruwe Date: Thu, 15 Dec 2022 19:54:59 +0100 Subject: [PATCH] fix: compile error --- src/InterActivePlayMessage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/InterActivePlayMessage.js b/src/InterActivePlayMessage.js index b26f3ee..4e8d0e1 100644 --- a/src/InterActivePlayMessage.js +++ b/src/InterActivePlayMessage.js @@ -23,7 +23,7 @@ const getProgressString = (percent) => { * @returns {String} */ // TODO do this with something like wcwidth -function getMaxWidthString = (string) => { +function getMaxWidthString (string) { const NUMBER_OF_CHARS = 12; if (string.length > NUMBER_OF_CHARS) { return string.slice(0, NUMBER_OF_CHARS - 3) + "...";