fix profile edit on profile without pic

This commit is contained in:
Adrian Brzeziński 2022-11-02 16:01:52 +00:00
parent 4383fefd1f
commit 546f9e2794
1 changed files with 1 additions and 1 deletions

View File

@ -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)