Skip to content

Commit 7f9709b

Browse files
luzpazUdit-takkar
andauthored
fix: typos in packages/ (calcom#21216)
Found via codespell Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
1 parent 77054d9 commit 7f9709b

6 files changed

Lines changed: 7 additions & 6 deletions

File tree

packages/features/bookings/Booker/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export const getBookerSizeClassNames = (
142142
// Small calendar defaults
143143
layout === BookerLayouts.MONTH_VIEW && getBookerMetaClass("[--booker-meta-width:240px]"),
144144
// Meta column gets wider in booking view to fit the full date on a single row in case
145-
// of a multi occurence event. Also makes form less wide, which also looks better.
145+
// of a multi occurrence event. Also makes form less wide, which also looks better.
146146
layout === BookerLayouts.MONTH_VIEW &&
147147
bookerState === "booking" &&
148148
`[--booker-main-width:420px] ${getBookerMetaClass("lg:[--booker-meta-width:340px]")}`,

packages/features/bookings/Booker/utils/isTimeslotAvailable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export const isTimeSlotAvailable = ({
9292
}
9393

9494
const dateInGMT = isValidISOFormat(slotToCheckInIso) ? slotToCheckInIso.split("T")[0] : null;
95-
// If the date is not in ISO format, we could errorneously consider the slot unavailable, so be on the safe side and consider it available
95+
// If the date is not in ISO format, we could erroneously consider the slot unavailable, so be on the safe side and consider it available
9696
// Though this could be a false positive, it's better to consider the slot available than unavailable
9797
if (!dateInGMT) return true;
9898

packages/lib/EventManager.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ export default class EventManager {
152152
(cred) => cred.type.endsWith("_calendar") && !cred.type.includes("other_calendar")
153153
)
154154
// see https://github.com/calcom/cal.com/issues/11671#issue-1923600672
155-
// This sorting is mostly applicable for fallback which happens when there is no explicity destinationCalendar set. That could be true for really old accounts but not for new
155+
// This sorting is mostly applicable for fallback which happens when there is no explicit destinationCalendar set.
156+
// That could be true for really old accounts but not for new
156157
.sort(latestCredentialFirst)
157158
// Keep Delegation Credentials first so because those credentials never expire and are preferred.
158159
// Also, those credentials have consistent permission for all the members avoiding the scenario where user doesn't give all permissions

packages/lib/bookings/findQualifiedHostsWithDelegationCredentials.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export const findQualifiedHostsWithDelegationCredentials = async <
145145
};
146146
}
147147

148-
//if segement matching doesn't return any hosts we fall back to all round robin hosts
148+
//if segment matching doesn't return any hosts we fall back to all round robin hosts
149149
const officalRRHosts = hostsAfterSegmentMatching.length ? hostsAfterSegmentMatching : roundRobinHosts;
150150

151151
const hostsAfterContactOwnerMatching = applyFilterWithFallback(

packages/lib/delegationCredential/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ export async function getCredentialForCalendarCache({ credentialId }: { credenti
577577
if (!delegationCredential) {
578578
credentialForCalendarService = null;
579579
} else {
580-
// We preparare a credential that is in-db(in constrast with an in-memory credential used elsewhere where we generate CredentialForCalendarService)
580+
// We prepare a credential that is in-db(in contrast with an in-memory credential used elsewhere where we generate CredentialForCalendarService)
581581
credentialForCalendarService = {
582582
...delegationCredential,
583583
id: credential.id,

packages/ui/components/navigation/tabs/navigation.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ describe("Navigation Components", () => {
9797
href: "https://external.com",
9898
isExternalLink: true,
9999
icon: "external",
100-
"data-testid": "Exteral",
100+
"data-testid": "External",
101101
},
102102
{
103103
name: "Disabled",

0 commit comments

Comments
 (0)