initial commit

This commit is contained in:
Giovanni Rezcjikov
2026-03-08 14:54:29 +03:00
commit f4e4fb21e3
75 changed files with 7407 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
import { GetUser } from "@/actions/auth";
import { redirect } from "next/navigation";
import MeComponent from "./component";
import { getConsents } from "@/actions/consents";
export default async function Me() {
const user = await GetUser();
if (!user) {
redirect("/api/auth/initiate");
}
var consents = await getConsents();
return <MeComponent userData={user} consentsData={consents} />;
}