tasko/lib/utils.ts
2024-02-14 21:30:10 -05:00

10 lines
274 B
TypeScript

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