Files
Carlo Quick 04c7cef99b [docs] fix(with-supabase): Update README env variables (#84745)
Closes #84734

Fixes environmental variable names in `with-supabase` example README to
match the actual `.env.example` file.

Updates `NEXT_PUBLIC_SUPABASE_ANON_KEY` to
`NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY` in two locations.

---------

Co-authored-by: Joseph <joseph.chamochumbi@vercel.com>
2025-10-13 13:07:28 +02:00

12 lines
353 B
TypeScript

import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}
// This check can be removed, it is just for tutorial purposes
export const hasEnvVars =
process.env.NEXT_PUBLIC_SUPABASE_URL &&
process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY;