From 1fbc2414fe45b1825e8e35ab6c2cf379290f8572 Mon Sep 17 00:00:00 2001 From: Davinci Date: Mon, 13 May 2024 09:52:07 +0200 Subject: [PATCH] chore: removed sufficient if --- src/pages/profile/index.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pages/profile/index.tsx b/src/pages/profile/index.tsx index 4ca9a4b..d444a60 100644 --- a/src/pages/profile/index.tsx +++ b/src/pages/profile/index.tsx @@ -125,9 +125,7 @@ export const ProfilePage = () => { const getLud16 = () => { let lud16 = '' - if (npub) { - if (npub) lud16 = `${npub}@npub.cash` - } + if (npub) lud16 = `${npub}@npub.cash` return lud16 }