BootNodeDev / dAppBooster

A modern blockchain boilerplate built to quickly get you started with your next project.
https://dappbooster.dev
MIT License
5 stars 1 forks source link

refactor(TokenInput): remove flag #236

Closed fernandomg closed 2 months ago

fernandomg commented 2 months ago

Description:

Uses singleToken prop as a receiver of the required Token. This way we avoid conditionally checking things (singleToken vs token).

Also, the useTokenSearch API was refactored, so it better mimics hooks API in general with the dependency array as the second parameter.

Type of change:

How Has This Been Tested?

Remember to check that:

vercel[bot] commented 2 months ago

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

Name Status Preview Updated (UTC)
dappbooster ✅ Ready (Inspect) Visit Preview Aug 21, 2024 9:53pm
fernandomg commented 2 months ago

@nicosampler I'm looking for an approval. If you happen to have one, please send it over here 🙏