kodadot/nft-gallery

View on GitHub
composables/drop/useHolderOfCollection.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function useHolderOfCollection has 70 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function useHolderOfCollection() {
  const { drop, runtimeMintCount } = useDropStore()
  const { accountId } = useAuth()
  const { client } = usePrefix()
  const { isNftClaimed } = useHolderOfCollectionDrop()
Severity: Major
Found in composables/drop/useHolderOfCollection.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status