| import { clsx, type ClassValue } from "clsx" | |
| import { twMerge } from "tailwind-merge" | |
| export function cn(...inputs: ClassValue[]) { | |
| return twMerge(clsx(inputs)) | |
| } | |
| export function convertMinutesToHM(minutes:number) { | |
| const hours = Math.floor(minutes / 60); | |
| const mins = minutes % 60; | |
| return `${hours}h${mins.toString().padStart(2, '0')}mins`; | |
| } | |