got frontend working with backend project

This commit is contained in:
wymiller committed 2024-11-27 00:35:32 -05:00
1 parent 66ba89c0b1
commit 0093589a4b
11 files changed
+249 -62

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
export const truncateString = (str: string, maxLength: number) => {
return str.length > maxLength ? `${str.slice(0, maxLength)}...` : str;
};