fix: filling users logic (#18128)

* fix filling users logic

* fix type check

* refactor
This commit is contained in:
Benny Joo authored and GitHub committed 2024-12-12 17:12:56 +00:00
1 parent 49070b96ae
commit 04036c32a7
3 files changed
+62 -20

No files matched your search

@@ -14,13 +14,17 @@ interface BookerSeoProps {
isTeamEvent?: boolean;
eventData?: Omit<
Pick<NonNullable<Awaited<ReturnType<typeof getPublicEvent>>>, "profile" | "title" | "users" | "hidden">,
"profile"
"profile" | "users"
> & {
profile: {
image: string | undefined;
name: string | null;
username: string | null;
};
users: {
username: string;
name: string;
}[];
};
entity: {
fromRedirectOfNonOrgLink: boolean;