Skip to content

Scheduling infrastructure for absolutely everyone.

Type fixes

zomars56e61c8d7cb5
diff --git a/apps/web/pages/[user]/[type].tsx b/apps/web/pages/[user]/[type].tsx
index 95426061fb1..e47c47039a9 100644
--- a/apps/web/pages/[user]/[type].tsx
+++ b/apps/web/pages/[user]/[type].tsx
@@ -67,6 +67,10 @@ async function getUserPageProps({ username, slug }: { username: string; slug: st
name: true,
hideBranding: true,
timeZone: true,
+ theme: true,
+ weekStart: true,
+ brandColor: true,
+ darkBrandColor: true,
eventTypes: {
select: { id: true },
},
@@ -150,11 +154,15 @@ async function getUserPageProps({ username, slug }: { username: string; slug: st
props: {
eventType: eventTypeObject,
profile: {
+ theme: user.theme,
name: user.name,
username: user.username,
hideBranding: user.hideBranding,
plan: user.plan,
timeZone: user.timeZone,
+ weekStart: user.weekStart,
+ brandColor: user.brandColor,
+ darkBrandColor: user.darkBrandColor,
slug: `${profile.username}/${eventType.slug}`,
image: `${WEBAPP_URL}/${profile.username}/avatar.png`,
},