mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-02-23 01:11:59 +00:00
* refactor: rework frontend use effect calls * fix: rabbit comments * fix: handle empty oauth url in login page
11 lines
271 B
TypeScript
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);
|
|
};
|