fix: typos in packages/ (#21216)

Found via codespell

Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
luzpazandUdit Takkar authored and GitHub committed 2025-05-12 09:30:43 +01:00
1 parent 77054d92df
commit 7f9709bdaa
6 files changed
+7 -6

No files matched your search

+1 -1
View File
@@ -142,7 +142,7 @@ export const getBookerSizeClassNames = (
// Small calendar defaults
layout === BookerLayouts.MONTH_VIEW && getBookerMetaClass("[--booker-meta-width:240px]"),
// Meta column gets wider in booking view to fit the full date on a single row in case
// of a multi occurence event. Also makes form less wide, which also looks better.
// of a multi occurrence event. Also makes form less wide, which also looks better.
layout === BookerLayouts.MONTH_VIEW &&
bookerState === "booking" &&
`[--booker-main-width:420px] ${getBookerMetaClass("lg:[--booker-meta-width:340px]")}`,
@@ -92,7 +92,7 @@ export const isTimeSlotAvailable = ({
}
const dateInGMT = isValidISOFormat(slotToCheckInIso) ? slotToCheckInIso.split("T")[0] : null;
// 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
// 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
// Though this could be a false positive, it's better to consider the slot available than unavailable
if (!dateInGMT) return true;