import React, { Suspense } from "react";
import SearchProvider from "@/context/search";

const BookingLayout = async ({ children }: { children: React.ReactNode }) => (
  <Suspense fallback={null}>
    <SearchProvider>{children}</SearchProvider>
  </Suspense>
);

export default BookingLayout;
