Initialize Supabase Next app
This commit is contained in:
9
lib/utils.ts
Normal file
9
lib/utils.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { clsx, type ClassValue } from "clsx";
|
||||
import { twMerge } from "tailwind-merge";
|
||||
import { hasSupabaseEnv } from "@/lib/supabase/env";
|
||||
|
||||
export function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs));
|
||||
}
|
||||
|
||||
export const hasEnvVars = hasSupabaseEnv;
|
||||
Reference in New Issue
Block a user