fix: tailwind v4 postcss, auth-server session, eslint cleanups
This commit is contained in:
8
frontend/app/(protected)/drawings/page.jsx
Normal file → Executable file
8
frontend/app/(protected)/drawings/page.jsx
Normal file → Executable file
@@ -1,5 +1,5 @@
|
||||
import { getSession } from "@/lib/auth";
|
||||
export default async function Page(){
|
||||
const { user } = await getSession();
|
||||
return <div className="rounded-2xl p-5 bg-white">Drawings — list/table (ต่อเชื่อม backend)</div>;
|
||||
import { requireSession } from '@/lib/auth-server';
|
||||
export default async function Page() {
|
||||
const { user } = await requireSession();
|
||||
return <div className="p-5 bg-white rounded-2xl">Drawings — list/table (ต่อเชื่อม backend)</div>;
|
||||
}
|
||||
Reference in New Issue
Block a user