feat(WEB-162): final design edit profile page
This commit is contained in:
committed by
Christel Westerberg
parent
5f3e417593
commit
d84efcbb0f
@@ -1,5 +1,11 @@
|
||||
import EditProfile from "@/components/MyProfile/Profile/Edit"
|
||||
import { serverClient } from "@/lib/trpc/server"
|
||||
|
||||
export default function EditProfileSlot() {
|
||||
return <EditProfile />
|
||||
import Form from "@/components/Forms/Edit/Profile"
|
||||
|
||||
export default async function EditProfileSlot() {
|
||||
const user = await serverClient().user.get({ mask: false })
|
||||
if (!user) {
|
||||
return null
|
||||
}
|
||||
return <Form user={user} />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user