Skip to content

Commit 023803d

Browse files
committedJan 10, 2024
wip
1 parent 44cb6a8 commit 023803d

File tree

141 files changed

+1550
-774
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+1550
-774
lines changed
 

‎apps/web/app/future/(individual-page-wrapper)/video/[uid]/page.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ async function getData(context: Omit<GetServerSidePropsContext, "res" | "resolve
4545
timeZone: true,
4646
name: true,
4747
email: true,
48+
// FIXME: OrgNewSchema - remove this
49+
//@ts-expect-error - Fix it later
4850
organization: {
4951
select: {
5052
calVideoLogo: true,

‎apps/web/components/getting-started/steps-views/UserProfile.tsx

+1-12
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { md } from "@calcom/lib/markdownIt";
99
import { telemetryEventTypes, useTelemetry } from "@calcom/lib/telemetry";
1010
import turndown from "@calcom/lib/turndownService";
1111
import { trpc } from "@calcom/trpc/react";
12-
import type { Ensure } from "@calcom/types/utils";
1312
import { Button, Editor, ImageUploader, Label, showToast } from "@calcom/ui";
1413
import { ArrowRight } from "@calcom/ui/components/icon";
1514

@@ -97,20 +96,10 @@ const UserProfile = () => {
9796
},
9897
];
9998

100-
const organization =
101-
user.organization && user.organization.id
102-
? {
103-
...(user.organization as Ensure<typeof user.organization, "id">),
104-
slug: user.organization.slug || null,
105-
requestedSlug: user.organization.metadata?.requestedSlug || null,
106-
}
107-
: null;
10899
return (
109100
<form onSubmit={onSubmit}>
110101
<div className="flex flex-row items-center justify-start rtl:justify-end">
111-
{user && (
112-
<OrganizationMemberAvatar size="lg" user={user} previewSrc={imageSrc} organization={organization} />
113-
)}
102+
{user && <OrganizationMemberAvatar size="lg" user={user} previewSrc={imageSrc} />}
114103
<input
115104
ref={avatarRef}
116105
type="hidden"

0 commit comments

Comments
 (0)