Files
tinyauth/frontend/src/lib/utils.ts
Stavros f08d8593ea refactor: rework frontend use effect calls (#630)
* refactor: rework frontend use effect calls

* fix: rabbit comments

* fix: handle empty oauth url in login page
2026-02-07 12:01:19 +02:00

11 lines
271 B
TypeScript

import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}
export const capitalize = (str: string) => {
return str.charAt(0).toUpperCase() + str.slice(1);
};