From 7da8a316fd08aad0830df19d2b123611299dda73 Mon Sep 17 00:00:00 2001 From: Taken Date: Sat, 9 Aug 2025 19:16:42 +0200 Subject: [PATCH] Updated site --- .../(admin)/admin/_components/password.tsx | 7 ----- .../admin/_components/user-profile.tsx | 18 ++++++------ src/app/(admin)/admin/user/auth/page.tsx | 2 +- src/app/(admin)/admin/user/page.tsx | 2 +- src/lib/drizzle/auth-schema.ts | 28 +++++++++++++++++++ 5 files changed, 39 insertions(+), 18 deletions(-) delete mode 100644 src/app/(admin)/admin/_components/password.tsx diff --git a/src/app/(admin)/admin/_components/password.tsx b/src/app/(admin)/admin/_components/password.tsx deleted file mode 100644 index ff39552..0000000 --- a/src/app/(admin)/admin/_components/password.tsx +++ /dev/null @@ -1,7 +0,0 @@ -import { getSession } from "@/lib/auth/session" - -export default async function PasswordSettings() { - const {} = await getSession() - - return null -} diff --git a/src/app/(admin)/admin/_components/user-profile.tsx b/src/app/(admin)/admin/_components/user-profile.tsx index 683c37d..4714db5 100644 --- a/src/app/(admin)/admin/_components/user-profile.tsx +++ b/src/app/(admin)/admin/_components/user-profile.tsx @@ -20,14 +20,14 @@ export default function UserProfile() { if (isPending) { return ( - +
-
-
+
+
@@ -52,7 +52,7 @@ export default function UserProfile() { : user.email?.[0]?.toUpperCase() || "U" return ( - +
@@ -62,13 +62,13 @@ export default function UserProfile() {
-
+
Profile
-
-