fix: clean src
This commit is contained in:
24
app/page.tsx
24
app/page.tsx
@@ -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</>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user