Skip to content

Commit

Permalink
Revert formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sudheerDev committed Oct 10, 2024
1 parent 344f189 commit 8e2b3ca
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions unlock-app/src/utils/checkoutLockUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
// type so that it at least includes as optional all possible
// properties on a lock. These are all compatible with RawLock insofar

import { PaywallConfigType } from '@unlock-protocol/core'
import { isEns } from '@unlock-protocol/ui'

import { Lock } from '~/unlockTypes'
import { isAccount } from '../utils/checkoutValidators'
import { locksmith } from '~/config/locksmith'
import { getCurrencySymbol } from './currency'
import { PaywallConfigType } from '@unlock-protocol/core'
import { onResolveName } from './resolvers'

// as they only extend it with properties that may be undefined.
Expand Down Expand Up @@ -165,13 +167,6 @@ export const shouldReferrerResolveForENS = (
return false
}

/**
* Helper function that returns a valid referrer addresses
* @param recipients
* @param paywallConfig
* @param lockAddress
* @returns
*/
export const getReferrers = async (
recipients: string[],
paywallConfig?: PaywallConfigType,
Expand Down

0 comments on commit 8e2b3ca

Please sign in to comment.