Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
imhson committed Feb 21, 2024
1 parent 1934611 commit a7fffca
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions app/components/homeComponents/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,8 @@ export default function HomePage() {
}
}
}
if (!account?.refferal_code) {
return (
<main className='relative min-h-screen'>
{/* background */}
<div className='absolute inset-0 overflow-hidden flex flex-col items-center'>
<Image src={Background} alt='' className='w-full min-w-[1008px] hidden sm:block' />
<Image src={MBackground} alt='' className='w-full min-w-[375px] mt-[50px] sm:hidden' />
</div>
</main>
)
}

if (account && !account.code && account.refferal_code?.length > 1) {
if (account && !account.code && (account.refferal_code as any)?.length > 1) {
return (
<main className='relative min-h-screen'>
{/* background */}
Expand Down

0 comments on commit a7fffca

Please sign in to comment.