diff --git a/pages/user/[id].vue b/pages/user/[id].vue index 293ef80..548d2b8 100644 --- a/pages/user/[id].vue +++ b/pages/user/[id].vue @@ -8,7 +8,7 @@ import adminPanel from "~/components/profile/adminPanel.vue"; const rtr = useRoute(); - const { data } = useAuth(); + const { data: ses } = useAuth(); const { data: userInfo } = await useApiFetch(`/user/${rtr.params.id}`); if (userInfo === null) { @@ -22,9 +22,9 @@ ); const isSelf = userInfo.value?._id === parseInt(rtr.params.id as string); - - console.log("rtr", rtr); - console.log("LVLVLVLVVLV", new Date(uLastVisit)); + useHead({ + title: `Viewing profile for ${userInfo.value.username}`, + });