fix: deleting unnecessary log

This commit is contained in:
Aslam H
2024-09-09 19:38:43 +07:00
parent 4765447ccd
commit 4347037589
8 changed files with 0 additions and 11 deletions

View File

@@ -33,7 +33,6 @@ export const ProfileWrapper = () => {
const editAvatar = (event: React.ChangeEvent<HTMLInputElement>) => {
const file = event.target.files?.[0]
if (file) {
console.log("File selected:", file)
const imageUrl = URL.createObjectURL(file)
if (account.me && account.me.profile) {
account.me.profile.avatarUrl = imageUrl
@@ -74,7 +73,6 @@ export const ProfileWrapper = () => {
if (account.me && account.me.profile) {
account.me.profile.name = newName.trim()
console.log("Updating name to:", newName.trim())
}
setIsEditing(false)
}