refactor: import UseIsPlatform directly instead of barrel file (#19670)
* refactor: import useIsPlatform directly * fixup! refactor: import useIsPlatform directly * fixup! fixup! refactor: import useIsPlatform directly * fixup! fixup! fixup! refactor: import useIsPlatform directly
This commit is contained in:
1 parent
3c035ab636
commit
2889893804
27 files changed
+30
-30
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { useIsPlatform } from "@calcom/atoms/monorepo";
|
||||
import { useIsPlatform } from "@calcom/atoms/hooks/useIsPlatform";
|
||||
import { useBookerTime } from "@calcom/features/bookings/Booker/components/hooks/useBookerTime";
|
||||
import type { UseBookingFormReturnType } from "@calcom/features/bookings/Booker/components/hooks/useBookingForm";
|
||||
import { useBookerStore } from "@calcom/features/bookings/Booker/store";
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
export { BookerWebWrapper as Booker } from "./booker";
|
||||
export { CalProvider } from "./cal-provider/CalProvider";
|
||||
export { useIsPlatform } from "./hooks/useIsPlatform";
|
||||
export { useAtomsContext } from "./hooks/useAtomsContext";
|
||||
export { useEventTypeById } from "./hooks/event-types/private/useEventTypeById";
|
||||
export { useHandleBookEvent } from "./hooks/bookings/useHandleBookEvent";
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
"import": "./monorepo.ts",
|
||||
"require": "./monorepo.ts"
|
||||
},
|
||||
"./hooks/useIsPlatform": "./hooks/useIsPlatform.ts",
|
||||
"./globals.min.css": "./globals.min.css",
|
||||
"./dist/index.ts": "./index.ts",
|
||||
"./dist/index.d.ts": "./dist/index.d.ts"
|
||||
|
||||
Reference in new issue
Block a user