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.

small tweaks

Steven Tey97b1896ba213
diff --git a/apps/web/ui/modals/link-qr-modal.tsx b/apps/web/ui/modals/link-qr-modal.tsx
index daf541cd20..5feff39eef 100644
--- a/apps/web/ui/modals/link-qr-modal.tsx
+++ b/apps/web/ui/modals/link-qr-modal.tsx
@@ -86,7 +86,7 @@ export function QRCodePicker({
if (logo && plan !== "free") return logo;
return typeof window !== "undefined" && window.location.origin
? new URL("/_static/logo.svg", window.location.origin).href
- : "https://dub.sh/_static/logo.svg";
+ : "https://dub.co/_static/logo.svg";
}, [logo, plan]);
function download(url: string, extension: string) {
@@ -188,7 +188,7 @@ export function QRCodePicker({
<div className="grid grid-cols-2 gap-2 px-4 sm:px-16">
<button
onClick={async () => {
- toast.promise(copyToClipboard(), {
+ toast.promise(copyToClipboard, {
loading: "Copying QR code to clipboard...",
success: "Copied QR code to clipboard!",
error: "Failed to copy",