diff --git a/public/icons/icon-192x192.png b/public/icons/icon-192x192.png index 948ad65..1beeca2 100644 Binary files a/public/icons/icon-192x192.png and b/public/icons/icon-192x192.png differ diff --git a/public/icons/icon-512x512.png b/public/icons/icon-512x512.png index ae46725..8f5d3d1 100644 Binary files a/public/icons/icon-512x512.png and b/public/icons/icon-512x512.png differ diff --git a/src/components/swap/SwapToast.tsx b/src/components/swap/SwapToast.tsx index 4c0f9e8..2173e3b 100644 --- a/src/components/swap/SwapToast.tsx +++ b/src/components/swap/SwapToast.tsx @@ -474,8 +474,11 @@ export function SwapToast({ hash }: { hash: string }) { if (secs <= 4.1) { fetch(`${window.location.origin}/og/preconfirm/${elapsedSec}`).catch(() => {}) } + // Embed URL in tweet text rather than using &url= param + // The &url= param causes Twitter composer to get stuck reloading state + const tweetText = `${text}\n\n${shareUrl}` window.open( - `https://twitter.com/intent/tweet?text=${encodeURIComponent(text)}&url=${encodeURIComponent(shareUrl)}`, + `https://twitter.com/intent/tweet?text=${encodeURIComponent(tweetText)}`, "_blank" ) }}