From 546f9e27944cbf1814eff262c3b39083d0fdd90a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Brzezin=CC=81ski?= Date: Wed, 2 Nov 2022 16:01:52 +0000 Subject: [PATCH] fix profile edit on profile without pic --- components/profile/EditProfileForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/profile/EditProfileForm.tsx b/components/profile/EditProfileForm.tsx index 985f17dd..1d58690b 100644 --- a/components/profile/EditProfileForm.tsx +++ b/components/profile/EditProfileForm.tsx @@ -84,7 +84,7 @@ const EditProfileForm = ({ const messageString = JSON.stringify({ profile_name: name, trader_category: profile?.trader_category, - profile_image_url: profile?.profile_image_url, + profile_image_url: profile?.profile_image_url || '', }) const message = new TextEncoder().encode(messageString) const signature = await signMessage(message)