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

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

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

  return <BookingWidgetSkeleton />
}
