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

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

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

  return <BookingWidgetSkeleton />
}
