mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-01-31 09:03:36 +00:00
10 lines
278 B
TypeScript
10 lines
278 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}`;
|
|
}
|