Starting to implement permissions into frontend
This commit is contained in:
@@ -4,3 +4,7 @@ import { twMerge } from "tailwind-merge";
|
||||
export function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs));
|
||||
}
|
||||
|
||||
export function toTitleCase(str: string) {
|
||||
return str.replace(/\b\w/g, (char) => char.toUpperCase());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user