From f36bb7a04eabe0330cb166bf9ce5021c92f38dc8 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 6 Apr 2020 21:15:41 +0530 Subject: linter --- src/webex/renderHtml.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/webex/renderHtml.tsx') diff --git a/src/webex/renderHtml.tsx b/src/webex/renderHtml.tsx index 082dd84dd..b6ff1248c 100644 --- a/src/webex/renderHtml.tsx +++ b/src/webex/renderHtml.tsx @@ -61,7 +61,7 @@ export const AmountView = ({ amount }: { amount: AmountJson | string }) => * Abbreviate a string to a given length, and show the full * string on hover as a tooltip. */ -export function abbrev(s: string, n: number = 5) { +export function abbrev(s: string, n = 5) { let sAbbrev = s; if (s.length > n) { sAbbrev = s.slice(0, n) + ".."; -- cgit v1.2.3