feat: update ui

Signed-off-by: Adithya Krishna <adithya@documenso.com>
This commit is contained in:
Adithya Krishna
2024-02-24 22:38:53 +05:30
parent 7e9efe9139
commit 90b9b58afe
22 changed files with 446 additions and 237 deletions

View File

@ -79,11 +79,11 @@ export const profileRouter = router({
.input(ZUpdatePublicProfileMutationSchema)
.mutation(async ({ input, ctx }) => {
try {
const { profileURL, profileBio } = input;
const { profileURL } = input;
return await updatePublicProfile({
id: ctx.user.id,
userProfile: { profileURL, profileBio },
profileURL,
});
} catch (err) {
console.error(err);