Skip to content

3.4.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@vibern0 vibern0 released this 13 Apr 09:47
e986a6f

What's Changed

  • refactor useBeneficiary by @obernardovieira in #219

Examples

Previously

const {
    beneficiary,
    claimCooldown,
    isClaimable,
    isReady,
    claim,
    community,
    fundsRemainingDays
    claim
} = useBeneficiary('0x13d9d460Bf4bbEE7c3ab53a29c5f23AeC64F8CB6');

After update

const {
    beneficiary,
    isReady,
    claim,
} = useBeneficiary('0x13d9d460Bf4bbEE7c3ab53a29c5f23AeC64F8CB6');
const { claimCooldown, isClaimable, community, fundsRemainingDays } = beneficiary;

Full Changelog: 3.3.7...3.4.0-beta.1