From a7fffca15773f2b537f6e6cbb53237b3f2e6df38 Mon Sep 17 00:00:00 2001 From: imhson Date: Wed, 21 Feb 2024 13:40:13 +0700 Subject: [PATCH] update --- app/components/homeComponents/home.tsx | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/app/components/homeComponents/home.tsx b/app/components/homeComponents/home.tsx index 23ab8c5..4a8647f 100644 --- a/app/components/homeComponents/home.tsx +++ b/app/components/homeComponents/home.tsx @@ -49,19 +49,8 @@ export default function HomePage() { } } } - if (!account?.refferal_code) { - return ( -
- {/* background */} -
- - -
-
- ) - } - if (account && !account.code && account.refferal_code?.length > 1) { + if (account && !account.code && (account.refferal_code as any)?.length > 1) { return (
{/* background */}