aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Utility/string.ts
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-09 00:41:20 -0700
committerFuwn <[email protected]>2024-10-09 00:41:43 -0700
commit998b63a35256ac985a5a2714dd1ca451af4dfd8a (patch)
tree50796121a9d5ab0330fdc5d7e098bda2860d9726 /src/lib/Utility/string.ts
parentfeat(graphql): add badgeCount field (diff)
downloaddue.moe-998b63a35256ac985a5a2714dd1ca451af4dfd8a.tar.xz
due.moe-998b63a35256ac985a5a2714dd1ca451af4dfd8a.zip
chore(prettier): use spaces instead of tabs
Diffstat (limited to 'src/lib/Utility/string.ts')
-rw-r--r--src/lib/Utility/string.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Utility/string.ts b/src/lib/Utility/string.ts
index 8cfc4ee5..7ecd2023 100644
--- a/src/lib/Utility/string.ts
+++ b/src/lib/Utility/string.ts
@@ -1,2 +1,2 @@
export const abbreviate = (title: string, maxLength: number) =>
- title.length > maxLength ? `${title.slice(0, maxLength)}...` : title;
+ title.length > maxLength ? `${title.slice(0, maxLength)}...` : title;