Fixed type errors in nextJS apps, added Docker files
Co-authored-by: Nicolas <nocnico@users.noreply.github.com>
This commit is contained in:
@@ -3,7 +3,7 @@ import { getServerSession } from "../../api/auth/[...nextauth]/auth";
|
||||
import { ProfileForm, SocialForm, PasswordForm, PilotForm } from "./_components/forms";
|
||||
import { GearIcon } from "@radix-ui/react-icons";
|
||||
|
||||
export const page = async () => {
|
||||
export default async function Page() {
|
||||
const session = await getServerSession();
|
||||
if (!session) return null;
|
||||
const user = await prisma.user.findFirst({
|
||||
@@ -37,6 +37,4 @@ export const page = async () => {
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default page;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user