BuidlGuidl / batch7.buidlguidl.com

Home base for BuidlGuidl's 7th Batch of Buidlers
https://batch7.buidlguidl.com/
MIT License
4 stars 10 forks source link

Implemented number of checked in users functionality. #29

Closed Ursulovic closed 1 month ago

Ursulovic commented 1 month ago

Implemented Functionality

Implemented functionality that checks the number of checked-in users from the BatchRegistry smart contract.

Description

The hook useScaffoldReadContract is used to read the state of checkedInCounter in the BatchRegistry smart contract.

To display the checked-in builders count:

Loader Example

Loaded Data Example

Related Issues

Closes #5

Your ENS/address: ursulovic.eth

vercel[bot] commented 1 month ago

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

Name Status Preview Comments Updated (UTC)
batch7-buidlguidl-com-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2024 10:51pm
derrekcoleman commented 1 month ago

Looks great, Ivan! Love your balance of concise code with error handling.