Earnings
diff --git a/apps/web/app/(ee)/app.dub.co/embed/referrals/earnings.tsx b/apps/web/app/(ee)/app.dub.co/embed/referrals/earnings.tsx
index bc51fae969b..07a45b25320 100644
--- a/apps/web/app/(ee)/app.dub.co/embed/referrals/earnings.tsx
+++ b/apps/web/app/(ee)/app.dub.co/embed/referrals/earnings.tsx
@@ -24,6 +24,7 @@ export function ReferralsEmbedEarnings() {
const token = useEmbedToken();
const {
earnings: { totalCount: earningsCount },
+ themeOptions,
} = useReferralsEmbedData();
const { pagination, setPagination } = usePagination(
diff --git a/apps/web/app/(ee)/app.dub.co/embed/referrals/faq.tsx b/apps/web/app/(ee)/app.dub.co/embed/referrals/faq.tsx
index dfbe104f961..dcaec443555 100644
--- a/apps/web/app/(ee)/app.dub.co/embed/referrals/faq.tsx
+++ b/apps/web/app/(ee)/app.dub.co/embed/referrals/faq.tsx
@@ -12,7 +12,7 @@ import { motion } from "motion/react";
import { useReferralsEmbedData } from "./page-client";
export function ReferralsEmbedFAQ() {
- const { program, rewards } = useReferralsEmbedData();
+ const { program, rewards, themeOptions } = useReferralsEmbedData();
const reward = rewards[0];
const rewardDescription = reward
@@ -49,6 +49,7 @@ export function ReferralsEmbedFAQ() {
];
return (
diff --git a/apps/web/app/(ee)/app.dub.co/embed/referrals/page-client.tsx b/apps/web/app/(ee)/app.dub.co/embed/referrals/page-client.tsx
index 44aaa27db9a..ce03d3572be 100644
--- a/apps/web/app/(ee)/app.dub.co/embed/referrals/page-client.tsx
+++ b/apps/web/app/(ee)/app.dub.co/embed/referrals/page-client.tsx
@@ -99,6 +99,7 @@ type ReferralsEmbedData = {
saleAmount: number;
};
bounties: PartnerBountyProps[];
+ themeOptions: ThemeOptions;
};
type ReferralsEmbedPageClientProps = ReferralsEmbedData & {
@@ -210,6 +211,7 @@ export function ReferralsEmbedPageClient({
programEnrollment,
group,
bounties,
+ themeOptions,
}),
[
program,
@@ -223,6 +225,7 @@ export function ReferralsEmbedPageClient({
programEnrollment,
group,
bounties,
+ themeOptions,
],
);
@@ -259,7 +262,11 @@ export function ReferralsEmbedPageClient({
)}