diff options
Diffstat (limited to 'src/webex/renderHtml.tsx')
-rw-r--r-- | src/webex/renderHtml.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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) + ".."; |