perf: don't fetch all the hosts (#18319)
* perf: don't fetch all the hosts * fix: type err * use appschema only when necessary * Variable casing change and type fixes * Another missing ts fix * chore: update variable name * chore: remove from personal event types * chore: remove limitHostsToThree * chore: make it a variable * chore: move it below * chore: change name to firstThreeHosts * chore: update to first three users * fix: type error * chore: add firstThreeHosts * fix: type error * fix: type error * fix: support users * chore: update metadata * fix: API v2 build error * chore: change var name * chore: remove cursorrules * chore: undo API v2 changes * chore: add type --------- Co-authored-by: Hariom <[email protected]> Co-authored-by: Keith Williams <[email protected]>
This commit is contained in:
12 files changed
+159
-124
No files matched your search
@@ -31,7 +31,9 @@ export const BookerWebWrapper = (props: BookerWebWrapperAtomProps) => {
|
||||
const router = useRouter();
|
||||
const pathname = usePathname();
|
||||
const searchParams = useSearchParams();
|
||||
const event = useEvent({ fromRedirectOfNonOrgLink: props.entity.fromRedirectOfNonOrgLink });
|
||||
const event = useEvent({
|
||||
fromRedirectOfNonOrgLink: props.entity.fromRedirectOfNonOrgLink,
|
||||
});
|
||||
const bookerLayout = useBookerLayout(event.data);
|
||||
|
||||
const selectedDate = searchParams?.get("date");
|
||||
|
||||
Reference in new issue
Block a user