fix: clean src

This commit is contained in:
2024-03-15 02:05:28 +01:00
parent de06bef97e
commit e389d13edd
6 changed files with 3 additions and 166 deletions

View File

@@ -1,25 +1,3 @@
import { createClient } from "@/utils/supabase/server";
import { cookies } from "next/headers";
export default async function Index() {
const cookieStore = cookies();
const canInitSupabaseClient = () => {
// This function is just for the interactive tutorial.
// Feel free to remove it once you have Supabase connected.
try {
createClient(cookieStore);
return true;
} catch (e) {
return false;
}
};
const isSupabaseConnected = canInitSupabaseClient();
return (
<>
<h1 className="text-xl">hello</h1>
</>
);
return <>Hello</>;
}