Skip to content

Commit

Permalink
fix: hide ads section
Browse files Browse the repository at this point in the history
  • Loading branch information
r4zendev committed Dec 30, 2024
1 parent 3cfc859 commit b9dcc0d
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,18 +211,15 @@ export const AdsAndSocialMedia: FunctionComponent<AdsAndSocialMediaProps> = ({
</div>
</div>

{/* TODO: Shows failing state by default for now */}
<div>
{/* <div>
<h3 className="mb-2 text-base font-bold">Ads</h3>
<Card
className={ctw(
'flex w-full justify-between p-4 shadow-lg',
// relatedAdsImages && relatedAdsImages.length > 0 ? 'opacity-100' : 'opacity-60',
false ? 'opacity-100' : 'opacity-60',
relatedAdsImages && relatedAdsImages.length > 0 ? 'opacity-100' : 'opacity-60',
)}
>
{/* relatedAdsImages */}
{false ? (
{relatedAdsImages ? (
<>The ads should be displayed here</>
) : (
<div className="flex items-center gap-2 text-gray-400">
Expand All @@ -231,6 +228,6 @@ export const AdsAndSocialMedia: FunctionComponent<AdsAndSocialMediaProps> = ({
</div>
)}
</Card>
</div>
</div> */}
</div>
);

0 comments on commit b9dcc0d

Please sign in to comment.