Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Merge branch 'referrals-tokens' of https://github.com/dubinc/dub into referrals-tokens

Steven Teyc9280eb06f12
diff --cc apps/web/ui/layout/sidebar/refer-button.tsx
index 61fdf163be,df9a517945..8e2f6bc63c
--- a/apps/web/ui/layout/sidebar/refer-button.tsx
+++ b/apps/web/ui/layout/sidebar/refer-button.tsx
@@@ -40,10 -13,10 +40,9 @@@ export function ReferButton()
return (
<DubWidget
- // TODO: Fetch token for this workspace
- token="dub_embed_zNettp9ZaXTmdq3VM0lODQjeIfADNqM1qj2w"
+ token={publicToken}
trigger="manual"
placement="top-left"
- anchorId="dub-refer-button"
>
<button
type="button"