Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed May 7, 2024
1 parent a07c115 commit 1578a67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blog/src/components/ENSAvatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export const ENSAvatar: FC<{ name: string; size?: Size }> = async ({
name,
size = 'medium',
}) => {
let avatar = avatars[name as keyof typeof avatars]
? await avatars[name as keyof typeof avatars].avatar.then(
let avatar = avatars[name as keyof typeof avatars]?.['avatar']
? await avatars[name as keyof typeof avatars]['avatar'].then(
(imported) => imported.default.src
)
: undefined;
Expand Down

0 comments on commit 1578a67

Please sign in to comment.