summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/strings.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/strings.ts b/src/utils/strings.ts
index e5bc43e..df2f781 100644
--- a/src/utils/strings.ts
+++ b/src/utils/strings.ts
@@ -1 +1 @@
-export const ellipsize = (str: string, len = 40) => (str.length > len ? `${str.slice(0, len - 1)}…` : str);
+export const ellipsize = (str: string, len: number) => (str.length > len ? `${str.slice(0, len - 1)}…` : str);