Skip to content

Commit

Permalink
Update RampUnit.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
xHomu committed Nov 26, 2024
1 parent 24a2c9f commit 7c7298b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/_site+/_components/RampUnit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export function AdUnit({
}
}, [startDetect, enableAds]);

if (!enableAds) return <div className={className}></div>;
if (!enableAds) return <></>;

// set Default height to fix ad cls, only in production when adblock is not detected
if (!detected && process.env.NODE_ENV === "production")
Expand Down

0 comments on commit 7c7298b

Please sign in to comment.