make tooltips look nicer
All checks were successful
deploy / deploy (push) Successful in 2m14s

This commit is contained in:
Lee
2023-10-29 15:35:10 +00:00
parent 20633c42eb
commit 204b02b36a
19 changed files with 915 additions and 179 deletions

View File

@ -1,7 +1,13 @@
import { clsx, type ClassValue } from "clsx";
import { ReadonlyHeaders } from "next/dist/server/web/spec-extension/adapters/headers";
import { twMerge } from "tailwind-merge";
let regionNames = new Intl.DisplayNames(["en"], { type: "region" });
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}
export function isProduction() {
return process.env.NODE_ENV === "production";
}