Skip to content

Scheduling infrastructure for absolutely everyone.

fix: correct typos in comments and variable names (#27164)

Bodhi Russell Silberling45c9f19b70b3
diff --git a/packages/embeds/embed-core/routing-playground.html b/packages/embeds/embed-core/routing-playground.html
index 0968f963359..79aa4ae62d1 100644
--- a/packages/embeds/embed-core/routing-playground.html
+++ b/packages/embeds/embed-core/routing-playground.html
@@ -105,7 +105,7 @@
<p>2. Whenever email changes and onblur happens, the prerender is triggered for the new email and previous prerendered modal is removed</p>
<p>3. The prerender of the headless router queues the form response and doesn't really record it. When the actual booking is made, the form response is recorded from the queue</p>
<p>4. If the CTA click happens before the slots are considered stale(configurable via options.slotsStaleTimeMs), then it will open the prerendered modal without fetching the slots, otherwise it will fetch the slots(for the routedTeamMembers/contactOwner only) and till then skeleton will be shown</p>
- <p>5. If the CTA click happens after iframeForceReloadThresholdMs has passed, then fresh headless router request is sent which could be really slow. It is important to do force reload after a certain time because the Routing Form itself could have changed in the meantime or Salesforce ownership might be available or some other change might have occured in Cal.com's side</p>
+ <p>5. If the CTA click happens after iframeForceReloadThresholdMs has passed, then fresh headless router request is sent which could be really slow. It is important to do force reload after a certain time because the Routing Form itself could have changed in the meantime or Salesforce ownership might be available or some other change might have occurred in Cal.com's side</p>
<p>6. slotsStaleTimeMs is set to 10 seconds(default is 1 minute) and iframeForceReloadThresholdMs is set to 30 seconds(default is 15 minutes) and they are considered from the time when the prerender/modal call was made</p>
<p>7. To avoid reaching the iframeForceReloadThresholdMs, user could prerender the router again and again judiciously</p>
<p>8. You can disable prerendering by passing the query param param.disablePrerender=true</p>
diff --git a/packages/testing/src/lib/bookingScenario/expects.ts b/packages/testing/src/lib/bookingScenario/expects.ts
index 6cdc8fefb37..af13fe50772 100644
--- a/packages/testing/src/lib/bookingScenario/expects.ts
+++ b/packages/testing/src/lib/bookingScenario/expects.ts
@@ -746,7 +746,7 @@ export function expectSuccessfulRoundRobinReschedulingEmails({
);
});
- // if booking is rescheduled by booker, old organizer should recieve reassigned emails
+ // if booking is rescheduled by booker, old organizer should receive reassigned emails
if (bookerReschedule) {
vi.waitFor(() => {
expect(emails).toHaveEmail(
diff --git a/packages/ui/components/breadcrumb/Breadcrumb.tsx b/packages/ui/components/breadcrumb/Breadcrumb.tsx
index 04aa15316e0..940e7d9b714 100644
--- a/packages/ui/components/breadcrumb/Breadcrumb.tsx
+++ b/packages/ui/components/breadcrumb/Breadcrumb.tsx
@@ -10,7 +10,7 @@ type BreadcrumbProps = {
export const Breadcrumb = ({ children }: BreadcrumbProps) => {
const childrenArray = Children.toArray(children);
- const childrenSeperated = childrenArray.map((child, index) => {
+ const childrenSeparated = childrenArray.map((child, index) => {
// If not the last item in the array insert a /
if (index !== childrenArray.length - 1) {
return (
@@ -26,7 +26,7 @@ export const Breadcrumb = ({ children }: BreadcrumbProps) => {
return (
<nav className="text-default text-sm font-normal leading-5">
- <ol className="flex items-center space-x-2 rtl:space-x-reverse">{childrenSeperated}</ol>
+ <ol className="flex items-center space-x-2 rtl:space-x-reverse">{childrenSeparated}</ol>
</nav>
);
};