Skip to content

Commit

Permalink
fix: placeholder image
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarsen136 committed Apr 25, 2023
1 parent 32aa491 commit 90af86d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
<nuxt-link
:to="`/${urlPrefix}/gallery/${event.nft.id}`"
class="height-50px">
<NeoAvatar :avatar="avatar" :name="event.nft.name" :size="50" />
<NeoAvatar
:avatar="avatar"
:placeholder="placeholder"
:name="event.nft.name"
:size="50" />
</nuxt-link>
<nuxt-link
class="is-ellipsis is-inline-block"
Expand Down Expand Up @@ -95,6 +99,7 @@ const props = defineProps<{
}>()
const avatar = ref<string>()
const { placeholder } = useTheme()
const interactionName = computed(
() => interactionNameMap[props.event.interaction] || props.event.interaction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
<div class="is-flex height-70px line-height-1">
<nuxt-link :to="`/${urlPrefix}/gallery/${event.nft.id}`">
<div class="mr-5">
<NeoAvatar :avatar="avatar" :name="event.nft.name" :size="70" />
<NeoAvatar
:avatar="avatar"
:placeholder="placeholder"
:name="event.nft.name"
:size="70" />
</div>
</nuxt-link>
<div
Expand Down Expand Up @@ -81,7 +85,7 @@ const props = defineProps<{
}>()
const avatar = ref<string>()
const { placeholder } = useTheme()
const interactionName = computed(
() => interactionNameMap[props.event.interaction] || props.event.interaction
)
Expand Down

0 comments on commit 90af86d

Please sign in to comment.