File tree Expand file tree Collapse file tree
packages/features/bookings/components/event-meta Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { useEffect, useRef } from "react";
44import { useIsPlatform } from "@calcom/atoms/hooks/useIsPlatform" ;
55import { useIsEmbed } from "@calcom/embed-core/embed-iframe" ;
66import { useShouldShowArrows } from "@calcom/features/apps/components/AllApps" ;
7- import { useBookerStore } from "@calcom/features/bookings/Booker/store " ;
7+ import { useBookerStoreContext } from "@calcom/features/bookings/Booker/BookerStoreProvider " ;
88import type { BookerEvent } from "@calcom/features/bookings/types" ;
99import { useLocale } from "@calcom/lib/hooks/useLocale" ;
1010import classNames from "@calcom/ui/classNames" ;
@@ -45,7 +45,7 @@ export const EventDuration = ({
4545 const { t } = useLocale ( ) ;
4646 const itemRefs = useRef < ( HTMLLIElement | null ) [ ] > ( [ ] ) ;
4747 const isPlatform = useIsPlatform ( ) ;
48- const [ selectedDuration , setSelectedDuration , state ] = useBookerStore ( ( state ) => [
48+ const [ selectedDuration , setSelectedDuration , state ] = useBookerStoreContext ( ( state ) => [
4949 state . selectedDuration ,
5050 state . setSelectedDuration ,
5151 state . state ,
You can’t perform that action at this time.
0 commit comments