From 39d8282d7bdb70a86997950a7e06be1189d87c13 Mon Sep 17 00:00:00 2001 From: codytseng Date: Sun, 26 Oct 2025 22:24:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=92=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/secondary/RizfulPage/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/secondary/RizfulPage/index.tsx b/src/pages/secondary/RizfulPage/index.tsx index 7a4dabb..03948a5 100644 --- a/src/pages/secondary/RizfulPage/index.tsx +++ b/src/pages/secondary/RizfulPage/index.tsx @@ -41,7 +41,8 @@ const RizfulPage = forwardRef(({ index }: { index?: number }, ref) => { const updateUserProfile = async (address: string) => { try { - if (address === profile?.lightningAddress) { + // If the profile already has a lightning address, do nothing + if (profile?.lightningAddress) { return } @@ -101,7 +102,7 @@ const RizfulPage = forwardRef(({ index }: { index?: number }, ref) => { } catch (e: unknown) { toast.error(e instanceof Error ? e.message : String(e)) } finally { - setConnecting(false) + setTimeout(() => setConnecting(false), 5000) } }