Skip to content

Commit 7a3433a

Browse files
committed
Coderabbit fix
1 parent b2c9e3f commit 7a3433a

File tree

1 file changed

+12
-2
lines changed
  • apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/marketplace/[programSlug]

1 file changed

+12
-2
lines changed

apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/marketplace/[programSlug]/page.tsx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,12 @@ export default async function MarketplaceProgramPage(props: {
129129
<div className="mt-6 flex gap-8">
130130
{Boolean(program.rewards?.length || program.discount) && (
131131
<div>
132-
<span className="block text-xs font-medium text-neutral-400">
132+
<span
133+
className={cn(
134+
"block text-xs font-medium",
135+
isDarkImage ? "text-content-inverted" : "text-neutral-400",
136+
)}
137+
>
133138
Rewards
134139
</span>
135140
<ProgramRewardsDisplay
@@ -143,7 +148,12 @@ export default async function MarketplaceProgramPage(props: {
143148
)}
144149
{Boolean(program.categories?.length) && (
145150
<div className="min-w-0">
146-
<span className="block text-xs font-medium text-neutral-400">
151+
<span
152+
className={cn(
153+
"block text-xs font-medium",
154+
isDarkImage ? "text-content-inverted" : "text-neutral-400",
155+
)}
156+
>
147157
Category
148158
</span>
149159
<div className="mt-1 flex items-center gap-1.5">

0 commit comments

Comments
 (0)