import { env } from "@/env/server"

import { BookingWidgetSkeleton } from "@/components/BookingWidget/Client"

export default function LoadingBookingWidget() {
  if (!env.ENABLE_BOOKING_FLOW) {
    return null
  }

  return <BookingWidgetSkeleton />
}
