Self-hosted dashboard and admin auth (#4837)
Co-authored-by: kartik-mem0 <kartik.labhshetwar@mem0.ai>
This commit is contained in:
co-authored by
kartik-mem0
parent
15feaa8ac4
commit
db8ac61713
@@ -0,0 +1,5 @@
|
||||
export const toTitleCase = (str: string) => {
|
||||
if (!str) return "";
|
||||
str = str.toLowerCase();
|
||||
return str.replace(/\b\w/g, (char) => char.toUpperCase());
|
||||
};
|
||||
Reference in New Issue
Block a user