"use client";
import { ReactNode } from "react";
import Preloader from "./Preloader";

interface LayoutWrapperProps {
  children: ReactNode;
}

const LayoutWrapper = ({ children }: LayoutWrapperProps) => {
  return (
    <Preloader>
      {children}
    </Preloader>
  );
};

export default LayoutWrapper;
