Files
better-auth/docs/lib/utils.ts
Bereket Engida 461526d89d chore: lint
2024-09-27 15:55:00 +03:00

10 lines
267 B
TypeScript

import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}
export function absoluteUrl(path: string) {
return `${process.env.NEXT_PUBLIC_APP_URL}${path}`;
}