diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json index d9196af764..d9b9200a9a 100644 --- a/apps/web/public/static/locales/en/common.json +++ b/apps/web/public/static/locales/en/common.json @@ -465,7 +465,7 @@ "friday": "Friday", "saturday": "Saturday", "sunday": "Sunday", - "all_booked_today": "All booked today.", + "all_booked_today": "All booked.", "slots_load_fail": "Could not load the available time slots.", "additional_guests": "Add guests", "your_name": "Your name", diff --git a/packages/app-store/metapixel/config.json b/packages/app-store/metapixel/config.json index 28256d7301..7edc9dacb1 100644 --- a/packages/app-store/metapixel/config.json +++ b/packages/app-store/metapixel/config.json @@ -5,9 +5,7 @@ "logo": "icon.svg", "url": "https://developers.facebook.com/docs/metapixel/", "variant": "analytics", - "categories": [ - "analytics" - ], + "categories": ["analytics"], "publisher": "regexyl", "email": "info@regexyl.com", "description": "Add Meta Pixel to your bookings page to measure, optimize and build audiences for your ad campaigns.", @@ -24,4 +22,4 @@ ] } } -} \ No newline at end of file +} diff --git a/packages/features/bookings/Booker/Booker.tsx b/packages/features/bookings/Booker/Booker.tsx index c64792097c..d9089e03c8 100644 --- a/packages/features/bookings/Booker/Booker.tsx +++ b/packages/features/bookings/Booker/Booker.tsx @@ -1,4 +1,3 @@ -import type { MotionStyle } from "framer-motion"; import { LazyMotion, domAnimation, m, AnimatePresence } from "framer-motion"; import { useCallback, useEffect, useRef } from "react"; import StickyBox from "react-sticky-box"; @@ -20,13 +19,11 @@ import { EventMeta } from "./components/EventMeta"; import { LargeCalendar } from "./components/LargeCalendar"; import { LargeViewHeader } from "./components/LargeViewHeader"; import { BookerSection } from "./components/Section"; -import { fadeInUp, fadeInLeft, resizeAnimationConfig } from "./config"; +import { fadeInLeft, resizeAnimationConfig } from "./config"; import { useBookerStore, useInitializeBookerStore } from "./store"; import type { BookerLayout, BookerProps } from "./types"; import { useEvent } from "./utils/event"; -const LargeLayouts = ["large_calendar", "large_timeslots"]; - const useBrandColors = ({ brandColor, darkBrandColor }: { brandColor?: string; darkBrandColor?: string }) => { const brandTheme = useGetBrandingColours({ lightVal: brandColor, @@ -46,10 +43,7 @@ const BookerComponent = ({ username, eventSlug, month, rescheduleBooking }: Book const event = useEvent(); const [layout, setLayout] = useBookerStore((state) => [state.layout, state.setLayout], shallow); const [bookerState, setBookerState] = useBookerStore((state) => [state.state, state.setState], shallow); - const [selectedDate, setSelectedDate] = useBookerStore( - (state) => [state.selectedDate, state.setSelectedDate], - shallow - ); + const selectedDate = useBookerStore((state) => state.selectedDate); const [selectedTimeslot, setSelectedTimeslot] = useBookerStore( (state) => [state.selectedTimeslot, state.setSelectedTimeslot], shallow @@ -124,27 +118,23 @@ const BookerComponent = ({ username, eventSlug, month, rescheduleBooking }: Book )}
{t("booking_full")}
} diff --git a/packages/features/bookings/components/event-meta/Details.tsx b/packages/features/bookings/components/event-meta/Details.tsx index f1e68b0d1c..00ace28243 100644 --- a/packages/features/bookings/components/event-meta/Details.tsx +++ b/packages/features/bookings/components/event-meta/Details.tsx @@ -3,7 +3,7 @@ import React from "react"; import classNames from "@calcom/lib/classNames"; import { useLocale } from "@calcom/lib/hooks/useLocale"; -import { Info, Clock, CheckSquare, RefreshCcw, CreditCard } from "@calcom/ui/components/icon"; +import { Clock, CheckSquare, RefreshCcw, CreditCard } from "@calcom/ui/components/icon"; import type { PublicEvent } from "../../types"; import { EventDetailBlocks } from "../../types"; @@ -31,7 +31,7 @@ type EventDetailCustomBlock = { type EventDetailsProps = EventDetailsPropsBase & (EventDetailDefaultBlock | EventDetailCustomBlock); interface EventMetaProps { - icon: React.FC<{ className: string }> | string; + icon?: React.FC<{ className: string }> | string; children: React.ReactNode; // Emphasises the text in the block. For now only // applying in dark mode. @@ -80,7 +80,7 @@ export const EventMetaBlock = ({ className="mr-2 mt-[2px] h-4 w-4 flex-shrink-0 [filter:invert(0.5)_brightness(0.5)] dark:[filter:invert(1)_brightness(0.9)]" /> ) : ( -+
{users .map((user) => user.name) .filter((name) => name) diff --git a/packages/features/calendars/DatePicker.tsx b/packages/features/calendars/DatePicker.tsx index 7e2e5dcb26..5ef4b0d7d5 100644 --- a/packages/features/calendars/DatePicker.tsx +++ b/packages/features/calendars/DatePicker.tsx @@ -144,7 +144,7 @@ const Days = ({
) : props.isLoading ? (