From 84fc1983c93e799b711715c866a0c3f4faea0cd3 Mon Sep 17 00:00:00 2001 From: Don Strawsburg Date: Fri, 17 Jan 2025 22:30:18 -0500 Subject: [PATCH] something --- src/app/userProfile/[uuid].tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/userProfile/[uuid].tsx b/src/app/userProfile/[uuid].tsx index 30fd6f2..ccde328 100644 --- a/src/app/userProfile/[uuid].tsx +++ b/src/app/userProfile/[uuid].tsx @@ -1,4 +1,4 @@ -import { getUserByUUID } from "@src/actions/userActions"; +import { getUserByUUID } from "@actions/userActions"; import { NextPage } from "next"; import { Herr_Von_Muellerhoff } from "next/font/google"; import { useRouter } from "next/router"; @@ -7,7 +7,8 @@ import {db} from "@db/index"; export default function UserProfilePage() { const router = useRouter(); - const { uuid } = router.query; + // const { uuid } = router.query; + const uuid = "8ad8da5e-1ecd-402b-8211-bc93f2c3331a"; const [user, setUser] = useState<{ uuid: string | null; id: string; username: string; email: string; emailVerifiedOn: Date | null; password_hash: string; first_name: string | null; last_name: string | null; full_name: string | null; buildPrivacySetting: string | null; }[] | null>(null); useEffect(() => { @@ -24,11 +25,12 @@ if (!user) { return (
+ {user[0].first_name}
{/* Product Info */}
-

{user[0].first_name}

+

{user[0].first_name} anything else

{/* Vendor Pricing Table */}