mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-02-07 03:32:51 +00:00
11 lines
274 B
TypeScript
11 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}`
|
||
|
}
|