From cb309ead51dd6031c640927d0accfeb111e9ff63 Mon Sep 17 00:00:00 2001 From: Aleksandr Date: Mon, 17 Aug 2026 23:18:48 +0300 Subject: [PATCH] now able to pass username | email in params --- src/pages/QuickPurchase.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/QuickPurchase.tsx b/src/pages/QuickPurchase.tsx index ebd236f..9d68052 100644 --- a/src/pages/QuickPurchase.tsx +++ b/src/pages/QuickPurchase.tsx @@ -870,7 +870,8 @@ export default function QuickPurchase() { const contactKey = `lp_contact_${slug ?? ''}`; const [contactValue, setContactValue] = useState(() => { try { - return localStorage.getItem(contactKey) || ''; + const urlContact = new URLSearchParams(window.location.search).get('contact'); + return urlContact || localStorage.getItem(contactKey) || ''; } catch { return ''; }