commit | da16adf84a66bfcc7098525c97aa30f9726da0f2 | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Sun Mar 05 10:22:12 2023 +0000 |
committer | Skyler Grey <skyler3665@gmail.com> | Sun Mar 05 10:22:12 2023 +0000 |
tree | 4fc4386e72bf4f14ad7bc21ffdefeff23c473e5b | |
parent | e7970144042a66fe2011a8f85acdcf90e39f8a8f [diff] [blame] |
Reformat using prettier
diff --git a/src/utils/ellipsis.ts b/src/utils/ellipsis.ts index 6ec5888..4ba1f72 100644 --- a/src/utils/ellipsis.ts +++ b/src/utils/ellipsis.ts
@@ -1,4 +1,4 @@ export default (str: string, max: number): string => { if (str.length <= max) return str; return str.slice(0, max - 3) + "..."; -} \ No newline at end of file +};