Skip to content

Commit

Permalink
fix broken image
Browse files Browse the repository at this point in the history
  • Loading branch information
soapdog committed Aug 21, 2022
1 parent 4ab12f0 commit fbf4214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/core/components/AvatarTile.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { when } = require("../kernel/utils.js")
const AvatarTile = {
oninit: vnode => {
vnode.state.name = vnode.attrs.feed
vnode.state.image = `${__dirname}/../../ui/assets/images/icon.png`
vnode.state.image = `${process.cwd()}/ui/assets/images/icon.png`

const defaultAvatarLoadingFunction = () => {
ssb.avatar(vnode.attrs.feed).then(data => {
Expand Down

0 comments on commit fbf4214

Please sign in to comment.