Skip to content

Commit

Permalink
fix: pass default stamp space avatar address (#158)
Browse files Browse the repository at this point in the history
It's usually it's set to space address but when creating new space
we don't have space ID yet. Before it was passed as undefined, which
worked (ignoring Vue warning), but now it fails as we try to format
address.

This PR replaces undefined with valid address.
  • Loading branch information
Sekhmet authored Mar 7, 2024
1 parent db8d783 commit 31e655d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/ui/src/components/FormProfile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const definition = computed(() => {
type: 'string',
format: 'stamp',
title: 'Avatar',
default: props.id
default: props.id || '0x2121212121212121212121212121212121212121212121212121212121212121'
},
name: {
type: 'string',
Expand Down

0 comments on commit 31e655d

Please sign in to comment.