Skip to content

Feat: Add Base avatar support, Fallback to Mainnet#986

Merged
Zizzamia merged 6 commits intomainfrom
feat-basename-avatar
Aug 7, 2024
Merged

Feat: Add Base avatar support, Fallback to Mainnet#986
Zizzamia merged 6 commits intomainfrom
feat-basename-avatar

Conversation

@kirkas
Copy link
Contributor

@kirkas kirkas commented Aug 6, 2024

What changed? Why?

  • feat: Add chain props to useAvatar and getAvatar to resolve Base avatar.
  • feat: Modify getAvatar to resolve Base avatar, and fallback to mainnet if none is found.
image

@vercel
Copy link

vercel bot commented Aug 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
onchainkit-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 7, 2024 5:06pm

});
});

it('return correct base mainnet avatar', async () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Niiice tests

@Zizzamia Zizzamia merged commit 0351295 into main Aug 7, 2024
@Zizzamia Zizzamia deleted the feat-basename-avatar branch August 7, 2024 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Development

Successfully merging this pull request may close these issues.

2 participants