removed ui, docs package
This commit is contained in:
@@ -1,15 +1,9 @@
|
||||
import { prisma } from "@repo/db";
|
||||
import { getServerSession } from "../../api/auth/[...nextauth]/auth";
|
||||
import { PrismaClient } from "@repo/db";
|
||||
import {
|
||||
ProfileForm,
|
||||
SocialForm,
|
||||
PasswordForm,
|
||||
PilotForm,
|
||||
} from "./_components/forms";
|
||||
import { ProfileForm, SocialForm, PasswordForm, PilotForm } from "./_components/forms";
|
||||
import { GearIcon } from "@radix-ui/react-icons";
|
||||
|
||||
export const page = async () => {
|
||||
const prisma = new PrismaClient();
|
||||
const session = await getServerSession();
|
||||
if (!session) return null;
|
||||
const user = await prisma.user.findFirst({
|
||||
|
||||
Reference in New Issue
Block a user