Skip to content

Commit

Permalink
Bump Avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed May 7, 2024
1 parent 1578a67 commit 0387641
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion blog/src/components/Author.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const Author: FC<{
console.error('Enstate silently errored', response.body);
}

avatar = data?.avatar;
avatar = data?.['avatar'];
}

if (!avatar) {
Expand Down
2 changes: 1 addition & 1 deletion blog/src/components/ENSAvatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const ENSAvatar: FC<{ name: string; size?: Size }> = async ({
console.error('Enstate silently errored', response.body);
}

avatar = data?.avatar;
avatar = data?.['avatar'];
}

if (!avatar) {
Expand Down
2 changes: 1 addition & 1 deletion blog/src/components/search/SearchHit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const SearchHit: FC<{ hit: SearchEntry }> = ({ hit }) => {
{data?.authors?.map((author) => (
<img
src={
data?.assets.avatars[author]?.avatar ||
data?.assets.avatars[author]?.['avatar'] ||
`https://metadata.ens.domains/mainnet/avatar/${author}`
}
alt={author}
Expand Down

0 comments on commit 0387641

Please sign in to comment.