Note about group referral query details

This commit is contained in:
Ian Philips 2022-06-30 16:34:33 -06:00
parent cf3add24f3
commit a6c8a16295

View File

@ -21,6 +21,8 @@ function copyContractWithReferral(contract: Contract, username?: string) {
`https://${ENV_CONFIG.domain}${contractPath(contract)}${postFix}`
)
}
// Note: if a user arrives at a /group endpoint with a ?referral= query, they'll be added to the group automatically
function copyGroupWithReferral(group: Group, username?: string) {
const postFix = username ? '?referrer=' + username : ''
copyToClipboard(