From 7de86c4a15c490a50868392b4af07a43619c55cd Mon Sep 17 00:00:00 2001 From: Shreyaschorge Date: Tue, 8 Jul 2025 21:53:01 +0530 Subject: [PATCH] Add isMobile check --- src/components/ui/NeynarAuthButton/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ui/NeynarAuthButton/index.tsx b/src/components/ui/NeynarAuthButton/index.tsx index d2bf484..aa70506 100644 --- a/src/components/ui/NeynarAuthButton/index.tsx +++ b/src/components/ui/NeynarAuthButton/index.tsx @@ -299,7 +299,7 @@ export function NeynarAuthButton() { if (signedKeyData.signer_approval_url) { setSignerApprovalUrl(signedKeyData.signer_approval_url); setSignersLoading(false); // Stop loading, show QR code - if (context?.client?.clientFid === FARCASTER_FID) { + if (isMobile() && context?.client?.clientFid === FARCASTER_FID) { setShowDialog(false); window.open(signedKeyData.signer_approval_url, '_blank'); } else {